Skip to content

Commit ca2bfbd

Browse files
committed
fix: modal icons type error
1 parent f84065d commit ca2bfbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/modal.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface ModalOptions {
4242
/**
4343
* custom icon (Added in 1.14.0)
4444
*/
45-
icon?: VNodeChild | JSX.Element | function;
45+
icon?: VNodeChild | JSX.Element | Function;
4646
/**
4747
* Whether show mask or not.
4848
* @default true

0 commit comments

Comments
 (0)