multi schemas alert

This commit is contained in:
Guy Ben-Aharon
2024-09-19 23:45:22 +03:00
committed by Guy Ben-Aharon
parent 2f2828bc36
commit 420733be8e
12 changed files with 198 additions and 19 deletions

View File

@@ -18,6 +18,10 @@ export interface LayoutContext {
isSidePanelShowed: boolean;
hideSidePanel: () => void;
showSidePanel: () => void;
isSelectSchemaOpen: boolean;
openSelectSchema: () => void;
closeSelectSchema: () => void;
}
export const layoutContext = createContext<LayoutContext>({
@@ -35,4 +39,8 @@ export const layoutContext = createContext<LayoutContext>({
isSidePanelShowed: false,
hideSidePanel: emptyFn,
showSidePanel: emptyFn,
isSelectSchemaOpen: false,
openSelectSchema: emptyFn,
closeSelectSchema: emptyFn,
});