UNPKG

nd-gui

Version:

UI components for NetDocuments

17 lines (16 loc) 401 B
export interface IMenuItemBase<T> { id?: string; label?: string; icon?: string; enum?: T; selected?: boolean; } export interface IMenuItem<T> extends IMenuItemBase<T> { command?: (item?: any, event?: any) => void; items?: IMenuItem<T>[]; expanded?: boolean; disabled?: boolean; visible?: boolean; divider?: boolean; hoverTip?: string; }