cal.pub0.org/packages/features/insights/components/LineChart.tsx

13 lines
364 B
TypeScript

import { LineChart as ExternalLineChart } from "@tremor/react";
import type { LineChartProps } from "./tremor.types";
// Honestly this is a mess. Why are all chart libraries in existance horrible to theme
export const LineChart = (props: LineChartProps) => {
return (
<div className="dark:invert">
<ExternalLineChart {...props} />
</div>
);
};