mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:16:41 +08:00
DEV: Export dropdown in widgets/header to be used by plugins/TCs (#22126)
This commit is contained in:
parent
1bbb41a901
commit
c10e3ac57b
|
@ -24,7 +24,7 @@ export function clearExtraHeaderIcons() {
|
||||||
_extraHeaderIcons = [];
|
_extraHeaderIcons = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
const dropdown = {
|
export const dropdown = {
|
||||||
buildClasses(attrs) {
|
buildClasses(attrs) {
|
||||||
let classes = attrs.classNames || [];
|
let classes = attrs.classNames || [];
|
||||||
if (attrs.active) {
|
if (attrs.active) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user