// nivo import { ResponsiveLine, LineSvgProps } from "@nivo/line"; // helpers import { CHARTS_THEME, DEFAULT_MARGIN } from "@/constants/graph"; import { generateYAxisTickValues } from "@/helpers/graph.helper"; // types import { TGraph } from "./types"; // constants type Props = { customYAxisTickValues?: number[]; }; export const LineGraph: React.FC = ({ customYAxisTickValues, height = "400px", width = "100%", margin, theme, ...rest }) => (
);