UNPKG

react-xiangqiboard

Version:

A simple Xiangqi Board for React. Inspired and adapted from the unmaintained Chessboard.jsx. A fork of react-chessboard.

8 lines (7 loc) 353 B
import { PropsWithChildren } from "react"; type ErrorBoundaryProps = PropsWithChildren; export declare function ErrorBoundary({ children }: ErrorBoundaryProps): import("react/jsx-runtime").JSX.Element; export declare function WhiteKing({ showError }: { showError?: boolean | undefined; }): import("react/jsx-runtime").JSX.Element; export {};