1.0.0 • Published 9 months ago

react-chessboard-ui v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

react-chessboard-ui

NPM JavaScript Style Guide

See full documentation on https://chessboardui.space

Install

npm install react-chessboard-ui

or

yarn add react-chessboard-ui

Usage example

import React from 'react';
import { ChessBoard } from 'react-chessboard-ui'; // ChessBoard is a base component of react-chessboard-ui

import 'react-chessboard-ui/dist/index.css'; // required import css for ChessBoard

export const App = () => {

  // ... all handlers

  return (
    <div>
      <ChessBoard 
        FEN="rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
        onChange={handleChangePosition}
        onEndGame={handleEndGame}
      />
    </div>
  );
}

Creators

Created by in: Tanya and in: Alex

License

MIT ©

1.0.0

9 months ago

0.3.0

10 months ago

0.5.0

9 months ago

0.2.3

10 months ago

0.4.0

10 months ago

0.2.2

1 year ago

0.2.11

1 year ago

0.1.11

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago