The React Chessboard SVG Library used at ChessOpenings.co.uk.
npm install react-chessboard-svg
npm i react-chessboard-svg
`
Usage
`jsx
import { ChessboardSVG } from 'react-chessboard-svg';
export default function App() {
return ;
}
`
Contributing
1. Fork this repository
2. Clone your forked repository onto your development machine
git clone https://github.com/yourUsernameHere/react-chessboard-svg.git
cd react-chessboard-svg
3. Create a branch for your PR
git checkout -b your-branch-name
4. Set upstream remote
git remote add upstream https://github.com/Clariity/react-chessboard-svg.git
5. Make your changes
6. Test your changes using the example folder
npm run build
cd example
npm start
7. Push your changes
git add .
git commit -m "feature/cool-new-feature"
git push --set-upstream origin your-branch-name
8. Create pull request on GitHub
9. Contribute again
git checkout main
git pull upstream main
git checkout -b your-new-branch-name`