2.6.0 • Published 4 years ago

ii-react-chessboard3 v2.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Renders a chess board using React

CI Storybook codecov

Installation

npm install --save @ildar-icoosoft/react-chessboard

Demo

Documentation

Check out our WIKI

Example

import { Board, PieceCode } from "ii-react-chessboard";

ReactDOM.render(
  <Board position={{ e2: PieceCode.WHITE_PAWN, e7: PieceCode.BLACK_PAWN }} />,
  document.getElementById("container")
);