@react-chess-tools/react-chess-game
Version:
react-chess-game is a React component bridging chess.js with react-chessboard to offer a full-featured, ready-to-integrate chess board experience.
23 lines (17 loc) • 817 B
text/typescript
// Components
export { ChessGame } from "./components/ChessGame";
// Hooks & Context
export { useChessGameContext } from "./hooks/useChessGameContext";
export { useChessGame } from "./hooks/useChessGame";
export type { ChessGameContextType } from "./hooks/useChessGameContext";
export type { useChessGameProps } from "./hooks/useChessGame";
// Audio Types
export type { Sound, Sounds } from "./assets/sounds";
export type { SoundsProps } from "./components/ChessGame/parts/Sounds";
// Keyboard Types
export type { KeyboardControls } from "./components/ChessGame/parts/KeyboardControls";
// Utility Types
export type { GameInfo } from "./utils/chess";
// Component Props
export type { ChessGameProps } from "./components/ChessGame/parts/Board";
export type { RootProps } from "./components/ChessGame/parts/Root";