add chart line demo and add storybook

This commit is contained in:
2020-10-15 11:36:24 +07:00
parent 1f01cf636d
commit e9584c17d4
20 changed files with 5215 additions and 78 deletions

View File

@@ -0,0 +1,14 @@
import React from 'react';
import { ReactChartJs } from '@cubetiq/react-chart-js';
function LineChartExample(props: any) {
const { chartConfig } = props
return (
<ReactChartJs
chartConfig={chartConfig}
/>
);
}
export default LineChartExample;