react-chessboard-expandable
Version:
A fork of the react-chessboard library to support an expandable chessboard
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 {};