mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-22 14:25:47 +00:00
refactor(FE-316): Add expanded drawer content and dynamic width
This commit is contained in:
Vendored
+4
@@ -1,3 +1,5 @@
|
||||
import type { ReactNode } from 'react';
|
||||
|
||||
type MainUiSlice = {
|
||||
mainDrawerOpen: boolean;
|
||||
setMainDrawerOpen: (open: boolean) => void;
|
||||
@@ -13,6 +15,8 @@ type DrawerUISlice = {
|
||||
expandedDrawerOpen: boolean;
|
||||
setExpandedDrawerOpen: (open: boolean) => void;
|
||||
toggleExpandedDrawer: () => void;
|
||||
expandedDrawerContent: ReactNode | null;
|
||||
setExpandedDrawerContent: (content: ReactNode) => void;
|
||||
};
|
||||
|
||||
export type UIStore = MainUiSlice & DrawerUISlice;
|
||||
|
||||
Reference in New Issue
Block a user