mirror of
https://github.com/hanzoai/forum.git
synced 2026-09-30 21:51:19 +00:00
This covers all select-kit subclasses in core and core plugins Followup to https://github.com/discourse/discourse/pull/28489
18 lines
516 B
JavaScript
18 lines
516 B
JavaScript
import { classNames } from "@ember-decorators/component";
|
|
import ComboBoxComponent from "select-kit/components/combo-box";
|
|
import {
|
|
pluginApiIdentifiers,
|
|
selectKitOptions,
|
|
} from "select-kit/components/select-kit";
|
|
|
|
@classNames("chat-channel-chooser")
|
|
@selectKitOptions({
|
|
headerComponent: "chat-channel-chooser-header",
|
|
})
|
|
@pluginApiIdentifiers("chat-channel-chooser")
|
|
export default class ChatChannelChooser extends ComboBoxComponent {
|
|
modifyComponentForRow() {
|
|
return "chat-channel-chooser-row";
|
|
}
|
|
}
|