mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 15:25:46 +00:00
refactor(FE-316): Add expandable secondary drawer panel
This commit is contained in:
@@ -37,4 +37,11 @@ export const createDrawerUISlice: StateCreator<
|
||||
callback(Boolean(state.isValid));
|
||||
});
|
||||
},
|
||||
|
||||
expandedDrawerOpen: false,
|
||||
setExpandedDrawerOpen: (open: boolean) => set({ expandedDrawerOpen: open }),
|
||||
toggleExpandedDrawer: () => {
|
||||
const current = get().expandedDrawerOpen;
|
||||
set({ expandedDrawerOpen: !current });
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user