Browse Source

chore: fix Message type (#3212)

pull/3224/head
ajuner 4 years ago committed by GitHub
parent
commit
35f509aea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      components/message/index.tsx

4
components/message/index.tsx

@ -7,7 +7,7 @@ import CheckCircleFilled from '@ant-design/icons-vue/CheckCircleFilled';
import InfoCircleFilled from '@ant-design/icons-vue/InfoCircleFilled'; import InfoCircleFilled from '@ant-design/icons-vue/InfoCircleFilled';
let defaultDuration = 3; let defaultDuration = 3;
let defaultTop: number; let defaultTop: string;
let messageInstance: any; let messageInstance: any;
let key = 1; let key = 1;
let prefixCls = 'ant-message'; let prefixCls = 'ant-message';
@ -123,7 +123,7 @@ function isArgsProps(content: JointContent): content is ArgsProps {
} }
export interface ConfigOptions { export interface ConfigOptions {
top?: number; top?: string;
duration?: number; duration?: number;
prefixCls?: string; prefixCls?: string;
getContainer?: () => HTMLElement; getContainer?: () => HTMLElement;

Loading…
Cancel
Save