UNPKG

react-chessboard

Version:
10 lines (9 loc) 433 B
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 {};