discourse/app/assets/javascripts/select-kit/addon/components/font-selector.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
472 B
JavaScript
Raw Normal View History

2025-01-02 07:28:23 +08:00
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";
}
}