@zoendev/react-chessboard-v2
Version:
The React Chessboard Library used at ChessOpenings.co.uk. Inspired and adapted from the unmaintained Chessboard.jsx.
10 lines (9 loc) • 319 B
TypeScript
import { CustomPieceFn, Piece as Pc } from "../types";
type PieceProps = {
piece: Pc;
width: number;
customPieceJSX?: CustomPieceFn;
dndId: string;
};
export declare const SparePiece: ({ piece, width, customPieceJSX, dndId, }: PieceProps) => import("react/jsx-runtime").JSX.Element;
export {};