Spaces:
Runtime error
Runtime error
File size: 619 Bytes
229b3b8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
export type IMenuItem =
| 'uploads'
| 'templates'
| 'videos'
| 'images'
| 'shapes'
| 'audios'
| 'transitions'
| 'texts';
export interface ILayoutState {
activeMenuItem: IMenuItem | null;
showMenuItem: boolean;
showControlItem: boolean;
showToolboxItem: boolean;
activeToolboxItem: string | null;
setActiveMenuItem: (showMenu: IMenuItem | null) => void;
setShowMenuItem: (showMenuItem: boolean) => void;
setShowControlItem: (showControlItem: boolean) => void;
setShowToolboxItem: (showToolboxItem: boolean) => void;
setActiveToolboxItem: (activeToolboxItem: string | null) => void;
}
|