fix: modal icons type error

pull/2811/head 2.0.0-beta.9
tanjinzhou 2020-09-08 14:26:39 +08:00
parent f84065dcd3
commit ca2bfbd3ef
1 changed files with 1 additions and 1 deletions

2
types/modal.d.ts vendored
View File

@ -42,7 +42,7 @@ export interface ModalOptions {
/**
* custom icon (Added in 1.14.0)
*/
icon?: VNodeChild | JSX.Element | function;
icon?: VNodeChild | JSX.Element | Function;
/**
* Whether show mask or not.
* @default true