Skip to content

React Components for displaying draw structures defined in TODS

License

Notifications You must be signed in to change notification settings

CourtHive/tods-react-draws

Repository files navigation

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