UNPKG

react-chessboard-expandable

Version:

A fork of the react-chessboard library to support an expandable chessboard

12 lines (11 loc) 356 B
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 {};