return item

This commit is contained in:
2019-08-30 16:41:30 -04:00
parent 34e82ce85e
commit ac01076973
2 changed files with 6 additions and 6 deletions

View File

@ -5,9 +5,9 @@ export interface ToolbarItem {
hidden?: boolean;
toggle?: boolean;
individualToggle?: boolean;
click?: () => void;
click?: (item?: ToolbarItem) => void;
enabled?: boolean;
onEnabled?: () => void;
onDisabled?: () => void;
onEnabled?: (item?: ToolbarItem) => void;
onDisabled?: (item?: ToolbarItem) => void;
subMenu?: ToolbarItem[];
}