0.1.6 • Published 4 years ago
@datopian/chart-builder v0.1.6
This project was bootstrapped with Create React App.
Quick start
Install:
yarn add @datopian/chart-builderUsage:
import { ChartBuilder } from '@datopian/chart-builder'
function App() {
// View should have compiled resources so that schema is available
const view = {
resources: [...]
}
// Define redux `action`
return (
<ChartBuilder view={view} dataViewBuilderAction={action} />
)
}Dev
We use cosmos to do dev:
yarn cosmosCheckout __fixtures__ dir for details.
Compile package
For publication, run yarn build:package to compile package to /dist using babel