import { create } from "zustand";

const useSignUpStore = create<{
  value: number;
  add: () => void;
  minus: () => void;
}>((set) => ({
  value: 0,
  add: () => set((prev) => ({ value: prev.value + 1 })),
  minus: () => set((prev) => ({ value: prev.value - 1 })),
}));

export default useSignUpStore;
