mirror of
https://github.com/discourse/discourse.git
synced 2024-12-25 17:16:18 +08:00
d1cc60c435
Changes made using the ember-native-class-codemod, plus some manual tweaks
23 lines
734 B
JavaScript
23 lines
734 B
JavaScript
import { classNames } from "@ember-decorators/component";
|
|
import SingleSelectComponent from "select-kit/components/single-select";
|
|
import { pluginApiIdentifiers, selectKitOptions } from "./select-kit";
|
|
|
|
@classNames("dropdown-select-box")
|
|
@selectKitOptions({
|
|
autoFilterable: false,
|
|
filterable: false,
|
|
showFullTitle: true,
|
|
headerComponent: "dropdown-select-box/dropdown-select-box-header",
|
|
caretUpIcon: "caret-up",
|
|
caretDownIcon: "caret-down",
|
|
showCaret: false,
|
|
customStyle: null,
|
|
btnCustomClasses: null,
|
|
})
|
|
@pluginApiIdentifiers(["dropdown-select-box"])
|
|
export default class DropdownSelectBox extends SingleSelectComponent {
|
|
modifyComponentForRow() {
|
|
return "dropdown-select-box/dropdown-select-box-row";
|
|
}
|
|
}
|