mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-12 01:20:18 +08:00
16 lines
560 B
JavaScript
16 lines
560 B
JavaScript
import { classNames } from "@ember-decorators/component";
|
|
import ComboBoxComponent from "select-kit/components/combo-box";
|
|
import FontSelectorRow from "./font-selector/font-selector-row";
|
|
import { pluginApiIdentifiers, selectKitOptions } from "./select-kit";
|
|
import SelectedFont from "./selected-font";
|
|
|
|
@classNames("font-selector")
|
|
@pluginApiIdentifiers(["font-selector"])
|
|
@selectKitOptions({
|
|
selectedNameComponent: SelectedFont,
|
|
})
|
|
export default class FontSelector extends ComboBoxComponent {
|
|
modifyComponentForRow() {
|
|
return FontSelectorRow;
|
|
}
|
|
}
|