react-rating-charts
v1.4.2
Published
This package is a React wrapper for the [rating-charts.js](https://www.npmjs.com/package/rating-charts.js?activeTab=readme) package.
Downloads
340
Readme
react-rating-charts
This package is a React wrapper for the rating-charts.js package.
You can find the project on GitHub, npm or yarn.
Usage
All charts can be imported like this:
import { Table } from "react-rating-charts";
This Table
component can be used like any other React component.
Building
To build the project, first clone the repository.
Then you can use the yarn build
command to create a dist
-folder containing the build.
Documentation
The documentation can be build and locally hosted by using the yarn docs
command in the console.
Testing
The whole project is tested to have 100% coverage of statements, branches, functions and lines.
If you want to test the package yourself, you can call yarn test
in the console.