1.0.0 • Published 8 years ago
react-c3-wrapper v1.0.0
react-c3-wrapper
React C3 Wrapper
Installation
$ npm install react-c3-wrapper
Usage
import C3Wrapper from 'react-c3-wrapper';
class Application extends React.Component {
render() {
return (
<div>
<h1>React C3 Wrapper Example</h1>
<C3Wrapper config={{
data: {
columns: [
['data1', 30, 200, 100, 400, 150, 250],
['data2', 50, 20, 10, 40, 15, 25]
]
}
}}/>
</div>
);
}
}
1.0.0
8 years ago