Skip to content

Commit

Permalink
fix area chart types not matching
Browse files Browse the repository at this point in the history
  • Loading branch information
pyyding committed May 9, 2024
1 parent 5fcc384 commit e9d878e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/components/Area/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
export { Area, type AreaProps } from "recharts";
import { Area, type AreaProps as RechartsAreaProps } from "recharts";

type AreaProps = Omit<RechartsAreaProps, "ref">;

export { Area, type AreaProps };

0 comments on commit e9d878e

Please sign in to comment.