import { create } from 'zustand';
import { persist } from 'zustand/middleware';
export const useSidebarStore = create()(persist((set) => ({
    isCollapsed: false,
    toggleCollapse: () => set((state) => ({ isCollapsed: !state.isCollapsed })),
    setCollapsed: (collapsed) => set({ isCollapsed: collapsed }),
}), {
    name: 'sidebar-storage',
}));
//# sourceMappingURL=sidebarStore.js.map