MCPcopy Create free account
hub / github.com/sqlchat/sqlchat / LayoutState

Interface LayoutState

src/store/layout.ts:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7}
8
9interface LayoutState {
10 showSidebar: boolean;
11 isMobileView: boolean;
12 toggleSidebar: (show?: boolean) => void;
13 setIsMobileView: (value: boolean) => void;
14}
15
16export const useLayoutStore = create<LayoutState>()((set) => ({
17 showSidebar: true,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected