2019-07-11 22:45:21 -04:00
|
|
|
export interface ToolbarItem {
|
|
|
|
name: string;
|
2019-08-23 16:27:45 -04:00
|
|
|
icon?: string;
|
2019-07-11 22:45:21 -04:00
|
|
|
hidden?: boolean;
|
|
|
|
toggle?: boolean;
|
|
|
|
individualToggle?: boolean;
|
|
|
|
click?: () => void;
|
|
|
|
enabled?: boolean;
|
|
|
|
onEnabled?: () => void;
|
|
|
|
onDisabled?: () => void;
|
2019-08-23 16:27:45 -04:00
|
|
|
subMenu?: ToolbarItem[];
|
2019-07-11 22:45:21 -04:00
|
|
|
}
|