UNPKG

asg-chess-react

Version:

A React-based chess game component with an interactive interface, piece movement validation, and customizable styling.

12 lines (11 loc) 344 B
import './ChessBoardStyle.css'; 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 default ChessBoard;