import { ButtonColors, ButtonVarients } from '../enums'; import { IconInterface } from './icon-interface'; export interface GeneralActionInterface { id?: string; text?: string; tooltip?: string; icon?: IconInterface; click?: (event: Event, args?: any) => void; items?: GeneralActionInterface[]; isDanger?: boolean; } export interface GeneralIconActionInterface { icon: { type: string; group: string; name: string; color?: ButtonColors; }; title?: string; callback: (event: Event, args?: any) => void; } export interface GeneralActionButtonInterface extends GeneralActionInterface { varient?: ButtonVarients | string; color?: ButtonColors | string; for?: string; shortcut?: string; }