21 lines
455 B
TypeScript
21 lines
455 B
TypeScript
|
|
/**
|
||
|
|
* Interface for individual menu items in the secondary menu
|
||
|
|
*/
|
||
|
|
export interface ISecondaryMenuItem {
|
||
|
|
key: string;
|
||
|
|
iconName?: string;
|
||
|
|
action: () => void;
|
||
|
|
badge?: string | number;
|
||
|
|
badgeVariant?: 'default' | 'success' | 'warning' | 'error';
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Interface for collapsible groups in the secondary menu
|
||
|
|
*/
|
||
|
|
export interface ISecondaryMenuGroup {
|
||
|
|
name: string;
|
||
|
|
items: ISecondaryMenuItem[];
|
||
|
|
collapsed?: boolean;
|
||
|
|
iconName?: string;
|
||
|
|
}
|