update pay function
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
'use client';
|
||||
import dynamic from 'next/dynamic';
|
||||
// import Chart from 'react-apexcharts';
|
||||
const Chart = dynamic(() => import('react-apexcharts'), {
|
||||
ssr: false
|
||||
});
|
||||
|
||||
const LineChart = (props) => {
|
||||
const { chartData, chartOptions } = props;
|
||||
|
||||
return (
|
||||
// @ts-ignore
|
||||
<Chart
|
||||
options={chartOptions}
|
||||
type="line"
|
||||
width="100%"
|
||||
height="100%"
|
||||
series={chartData}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default LineChart;
|
||||
Reference in New Issue
Block a user