@zoendev/react-chessboard-v2
Version:
The React Chessboard Library used at ChessOpenings.co.uk. Inspired and adapted from the unmaintained Chessboard.jsx.
9 lines (8 loc) • 446 B
TypeScript
/// <reference types="react" />
import { ChessboardProps } from "./types";
export type ClearPremoves = {
clearPremoves: (clearLastPieceColour?: boolean) => void;
};
export { SparePiece } from "./components/SparePiece";
export { ChessboardDnDProvider } from "./components/DnDRoot";
export declare const Chessboard: import("react").ForwardRefExoticComponent<Omit<ChessboardProps, "ref"> & import("react").RefAttributes<ClearPremoves>>;