feat(ui): standardize collapsible application navigation
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import {createContext} from "react";
|
||||
|
||||
/** The shell owns rail width and panel presentation as one state. */
|
||||
export const NavigationPanelState = createContext<{
|
||||
collapsed: boolean;
|
||||
onCollapsedChange: (collapsed: boolean) => void;
|
||||
} | null>(null);
|
||||
Reference in New Issue
Block a user