Skip to content

Commit

Permalink
fix(Typescript): update message quick props
Browse files Browse the repository at this point in the history
  • Loading branch information
itmajing authored and youluna committed Mar 18, 2021
1 parent 8adc19c commit 6648735
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions types/message/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,18 @@ export interface MessageQuickProps extends HTMLAttributesWeak, CommonProps {
* 是否显示遮罩
*/
hasMask?: boolean;

/**
* 显示持续时间,0表示一直存在,以毫秒为单位
*/
duration?: number;
timeoutId?: string;

/**
* 显示关闭按钮
*/
closeable?: boolean;

/**
* 关闭按钮的回调
*/
Expand Down

0 comments on commit 6648735

Please sign in to comment.