UNPKG

tods-react-draws

Version:

React Components for displaying draw structures.

41 lines (26 loc) 729 B
# tods-react-draws React Components for displaying draw structures. Consumes JSON which conforms to the [Tennis Open Data Standards](https://itftennis.atlassian.net/wiki/spaces/TODS/overview) [Online Documentation with Examples](https://courthive.github.io/tods-react-draws) ## Install ```bash yarn add tods-react-draws # or npm install tods-react-draws ``` ## Usage Check the **example** directory... ```js import { DrawStructure } from 'tods-react-draws'; ``` ## Development After cloning the repository: ```bash yarn install # or npm i yarn start # or npm start ``` ### Example Then run the example inside another: ```bash cd example yarn install # or npm i to install dependencies yarn start # or npm start ```