mirror of
https://github.com/discourse/discourse.git
synced 2025-01-17 03:52:45 +08:00
15 lines
472 B
JavaScript
15 lines
472 B
JavaScript
|
import { classNames } from "@ember-decorators/component";
|
||
|
import ComboBoxComponent from "select-kit/components/combo-box";
|
||
|
import { pluginApiIdentifiers, selectKitOptions } from "./select-kit";
|
||
|
|
||
|
@classNames("font-selector")
|
||
|
@pluginApiIdentifiers(["font-selector"])
|
||
|
@selectKitOptions({
|
||
|
selectedNameComponent: "selected-font",
|
||
|
})
|
||
|
export default class FontSelector extends ComboBoxComponent {
|
||
|
modifyComponentForRow() {
|
||
|
return "font-selector/font-selector-row";
|
||
|
}
|
||
|
}
|