import { create } from "zustand";

interface Store {
  isSidebar: boolean;
  setIsSidebar: (isSidebar: boolean) => void;
}

const useWingSidebar = create<Store>((set) => ({
  isSidebar: false,
  setIsSidebar: (isSidebar) => set(() => ({ isSidebar: isSidebar })),
}));

export default useWingSidebar;
