discourse/app/assets/javascripts/select-kit/addon/components/group-notifications-button.js
David Taylor d1cc60c435
DEV: Convert select-kit components to native class syntax (#28489)
Changes made using the ember-native-class-codemod, plus some manual tweaks
2024-08-23 12:17:07 +01:00

14 lines
483 B
JavaScript

import { classNames } from "@ember-decorators/component";
import NotificationOptionsComponent from "select-kit/components/notifications-button";
import {
pluginApiIdentifiers,
selectKitOptions,
} from "select-kit/components/select-kit";
@classNames("group-notifications-button")
@selectKitOptions({
i18nPrefix: "groups.notifications",
})
@pluginApiIdentifiers("group-notifications-button")
export default class GroupNotificationsButton extends NotificationOptionsComponent {}