Package Exports
- tods-react-draws
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tods-react-draws) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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-drawsUsage
Check the example directory...
import { DrawStructure } from 'tods-react-draws';Development
After cloning the repository:
yarn install # or npm i
yarn start # or npm startStorybook
Run inside another terminal:
yarn storybookExample
Then run the example inside another:
cd example
yarn install # or npm i to install dependencies
yarn start # or npm start