Skip to content

Commit f30c57e

Browse files
committed
fix: import type JSX from react to make it work with react 19
1 parent 26b56b0 commit f30c57e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/types.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
import type { CanvasHTMLAttributes, MutableRefObject, ReactNode } from 'react';
1+
import type {
2+
CanvasHTMLAttributes,
3+
MutableRefObject,
4+
ReactNode,
5+
JSX,
6+
} from 'react';
27
import type {
38
Chart,
49
ChartType,

0 commit comments

Comments
 (0)