add chart line demo and add storybook
This commit is contained in:
14
src/demos/LineChart/LineChartExample.tsx
Normal file
14
src/demos/LineChart/LineChartExample.tsx
Normal 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;
|
||||
Reference in New Issue
Block a user