Initial Commit

This commit is contained in:
Ahmad 2024-02-14 21:30:10 -05:00
commit f3e2f01bd7
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
150 changed files with 13612 additions and 0 deletions

13
hooks/use-pro-modal.ts Normal file
View file

@ -0,0 +1,13 @@
import { create } from "zustand";
type ProModalStore = {
isOpen: boolean;
onOpen: () => void;
onClose: () => void;
};
export const useProModal = create<ProModalStore>((set) => ({
isOpen: false,
onOpen: () => set({ isOpen: true }),
onClose: () => set({ isOpen: false }),
}));