0.1.0 • Published 7 years ago
react-capsule-chart v0.1.0
react-capsule-chart
React Component for Capsule Chart
Installation
$ yarn add react-capsule-chart
Usage
import CapsuleChart from 'react-capsule-chart';
const chartData = [
{
label: "hello",
weight: 6
}, {
label: "hello2",
weight: 9
}, {
label: "hello3",
weight: 5
}
]
export default class LandingComponent extends React.Component {
constructor(props) {
super(props);
};
}
render() {
return (
<CapsuleChart chartData={chartData}/>
);
}
}
Note
It is a work in progress
0.1.0
7 years ago