asg-chess-react
Version:
A React-based chess game component with an interactive interface, piece movement validation, and customizable styling.
13 lines (10 loc) • 310 B
TypeScript
import React from 'react';
interface ChessBoardProps {
boardSide?: "w" | "b";
setBoardData: string[][];
getBoardData: (data: string[][]) => void;
history?: (data: string[][][]) => void;
moveBackCount?: number;
}
declare const ChessBoard: React.FC<ChessBoardProps>;
export { ChessBoard };