Skip to content

Commit a71fcd1

Browse files
committed
chore: Remove customize components generic define
fix ant-design/ant-design#21929
1 parent 6fbabc8 commit a71fcd1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/interface.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ type Component<P> =
110110
| React.FC<P>
111111
| keyof React.ReactHTML;
112112

113-
export type CustomizeComponent<
114-
P extends React.HTMLAttributes<HTMLElement> = React.HTMLAttributes<HTMLElement>
115-
> = Component<P>;
113+
export type CustomizeComponent = Component<any>;
116114

117115
export type CustomizeScrollBody<RecordType> = (
118116
data: RecordType[],

0 commit comments

Comments
 (0)