Add React web scaffold

This commit is contained in:
Asep Haryana Saputra
2026-05-22 12:41:55 +00:00
parent 393779f81d
commit 62f45ed454
17 changed files with 452 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import { create } from 'zustand';
type UiState = {
dashboardCompact: boolean;
toggleDashboardCompact: () => void;
};
export const useUiStore = create<UiState>((set) => ({
dashboardCompact: false,
toggleDashboardCompact: () =>
set((state) => ({ dashboardCompact: !state.dashboardCompact })),
}));