import type { ChangeEvent, RefObject } from "react"; import LichessButton from "#/components/LichessButton.tsx"; import PgnViewer from "#/components/PgnViewer.tsx"; import Section from "#/components/Section.tsx"; import type { IGameState } from "#/reducers/gameReducer.ts"; interface IProps { gameState: IGameState; handleLoadPgn: (e: ChangeEvent) => void; handleClearGame: () => void; handleSavePgn: () => void; handleSavePdf: () => void; handleToggleClock: () => void; handleToggleDiagram: () => void; fileInputRef: RefObject; } const Chessboard = ({ gameState, handleLoadPgn, handleClearGame, handleSavePgn, handleSavePdf, handleToggleClock, handleToggleDiagram, fileInputRef, }: IProps) => { return (
or{" "}
); }; export default Chessboard;