Skip to content

Commit 771c7e8

Browse files
committed
update type
1 parent 05c1ed2 commit 771c7e8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/demo/measureRowRender.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: measureRowRender
3+
nav:
4+
title: measureRowRender
5+
path: /demo
6+
---
7+
8+
<code src="../examples/measureRowRender.tsx"></code>

src/interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ type Component<P> =
157157
| React.ComponentType<P>
158158
| React.ForwardRefExoticComponent<P>
159159
| React.FC<P>
160-
| keyof React.ReactHTML;
160+
| keyof React.JSX.IntrinsicElements;
161161

162162
export type CustomizeComponent = Component<any>;
163163

0 commit comments

Comments
 (0)