48 lines
842 B
TypeScript
48 lines
842 B
TypeScript
// types/sidebar.ts
|
|
|
|
export interface SidebarItem {
|
|
header?: string;
|
|
title?: string;
|
|
icon?: any;
|
|
id?: number;
|
|
to?: string;
|
|
chip?: string;
|
|
BgColor?: string;
|
|
chipBgColor?: string;
|
|
chipColor?: string;
|
|
chipVariant?: string;
|
|
chipIcon?: string;
|
|
children?: menu[];
|
|
disabled?: boolean;
|
|
type?: string;
|
|
subCaption?: string;
|
|
role?: string[];
|
|
permission?: string[];
|
|
}
|
|
export interface menu {
|
|
header?: string;
|
|
title?: string;
|
|
icon?: any;
|
|
id?: number;
|
|
to?: string;
|
|
chip?: string;
|
|
BgColor?: string;
|
|
chipBgColor?: string;
|
|
chipColor?: string;
|
|
chipVariant?: string;
|
|
chipIcon?: string;
|
|
children?: menu[];
|
|
disabled?: boolean;
|
|
type?: string;
|
|
subCaption?: string;
|
|
role?: string[];
|
|
permission?: string[];
|
|
}
|
|
|
|
|
|
export interface minisidebar {
|
|
icon?: string;
|
|
id?:number;
|
|
tooltip?:string
|
|
}
|