next-chessground
Version:
React and Next wrapper for Chessground with chessboard and pieces out of the box
29 lines (25 loc) • 759 B
JavaScript
import NextChessground from './components/NextChessground';
import NextEditor from './components/NextEditor';
import useChess from './hooks/use-chess';
import useChessground from './hooks/use-chessground';
import constants from './utils/constants';
import Stockfish from './utils/stockfish';
import isValidFen from './utils/is-valid-fen';
import './assets/css/board.css';
import './assets/css/chess.css';
import './assets/css/coords.css';
import './assets/css/icons.css';
import './assets/css/layout.css';
import './assets/css/modal.css';
import './assets/css/pieces.css';
import './assets/css/tailwind.css';
export default NextChessground;
export {
NextChessground,
NextEditor,
Stockfish,
isValidFen,
useChess,
useChessground,
constants,
};