import { IDropdownMenuDynamic } from './menuDynamic'; import { IGlyph } from '../icon'; import { SelectColor } from '../base'; export interface IDropdownOption { id?: string; name: string; desc?: string; icon?: IGlyph; subIcon?: IGlyph; isTall?: boolean; isDisabled?: boolean; value: string; /** This is so dumb, this should not be called IMPORTANT, it should be a color theme. */ important?: boolean; params?: any; /** only valid for chip options */ color?: SelectColor; /** @deprecated, use value instead */ optionId?: string; /** only valid for avatar chip options */ avatar?: string; } export interface IDropdownTreeOption extends IDropdownOption { children?: IDropdownTreeOption[]; childMenuConf?: Pick; }