UNPKG

@zoendev/react-chessboard-v2

Version:

The React Chessboard Library used at ChessOpenings.co.uk. Inspired and adapted from the unmaintained Chessboard.jsx.

12 lines (11 loc) 440 B
import { ReactNode, FC } from "react"; import { BackendFactory } from "dnd-core"; import { ChessboardDnDProviderProps } from "../types"; type ChessboardDnDRootProps = { customDndBackend?: BackendFactory; customDndBackendOptions: unknown; children: ReactNode; }; export declare const ChessboardDnDProvider: FC<ChessboardDnDProviderProps>; export declare const ChessboardDnDRoot: FC<ChessboardDnDRootProps>; export {};