react-chessboard
Version:
The React Chessboard Library
10 lines (9 loc) • 433 B
TypeScript
import type { DraggingPieceDataType, PieceDataType } from './types.js';
type DraggableProps = {
children: React.ReactNode;
isSparePiece?: DraggingPieceDataType['isSparePiece'];
pieceType: PieceDataType['pieceType'];
position: DraggingPieceDataType['position'];
};
export declare function Draggable({ children, isSparePiece, pieceType, position, }: DraggableProps): import("react/jsx-runtime").JSX.Element;
export {};