tods-react-draws

React Components for displaying draw structures.

Usage no npm install needed!

<script type="module">
  import todsReactDraws from 'https://cdn.skypack.dev/tods-react-draws';
</script>

README

tods-react-draws

React Components for displaying draw structures.

Consumes JSON which conforms to the Tennis Open Data Standards

Online Documentation with Examples

Install

yarn add tods-react-draws # or npm install tods-react-draws

Usage

Check the example directory...

import { DrawStructure } from 'tods-react-draws';

Development

After cloning the repository:

yarn install # or npm i
yarn start # or npm start

Example

Then run the example inside another:

cd example
yarn install # or npm i to install dependencies
yarn start # or npm start