mycrossword
Version:
React crossword component
13 lines (12 loc) • 432 B
TypeScript
import type { Cell, CellPosition } from '~/types';
type CellsStore = {
cells: Cell[];
complete: boolean;
checkComplete: () => boolean | null;
resetComplete: () => void;
setCells: (cells: Cell[]) => void;
select: (pos: CellPosition) => void;
answerAll: (answered: boolean) => void;
};
export declare const useCellsStore: import("zustand").UseBoundStore<import("zustand").StoreApi<CellsStore>>;
export {};