Files
JKVideo/store/visibleBigKeyStore.ts

12 lines
258 B
TypeScript
Raw Normal View History

2026-05-12 20:27:30 +08:00
import { create } from "zustand";
interface VisibleBigKeyState {
key: string | null;
setKey: (key: string | null) => void;
}
export const useVisibleBigKeyStore = create<VisibleBigKeyState>((set) => ({
key: null,
setKey: (key) => set({ key }),
}));