react-chessboard
Version:
The React Chessboard Library
10 lines (9 loc) • 307 B
TypeScript
import { SquareDataType } from './types.js';
type SquareProps = {
children?: React.ReactNode;
squareId: SquareDataType['squareId'];
isLightSquare: SquareDataType['isLightSquare'];
isOver: boolean;
};
export declare const Square: import("react").NamedExoticComponent<SquareProps>;
export {};