@zoendev/react-chessboard-v2
Version:
The React Chessboard Library used at ChessOpenings.co.uk. Inspired and adapted from the unmaintained Chessboard.jsx.
12 lines (11 loc) • 356 B
TypeScript
import { Coords, Piece as Pc, Square } from "../types";
type PieceProps = {
isPremovedPiece?: boolean;
piece: Pc;
square: Square;
squares: {
[square in Square]?: Coords;
};
};
export declare function Piece({ isPremovedPiece, piece, square, squares, }: PieceProps): import("react/jsx-runtime").JSX.Element;
export {};