import * as React from "react"; import { ConfigConsumerProps } from "../Config"; interface ILoadProps { /** * 是否开启遮罩层 * * @default true **/ hasMask?: boolean; /** * 图标大小 * * @default "" **/ size?: string; /** * 默认前缀 * * @default 'lg' **/ prefixCls?: string; /** * 自定义组件类名 * * @default "" **/ className?: string; /** * 自定义样式 * * @default **/ style?: React.CSSProperties; } interface ILoadState { show: boolean; } declare class Loading extends React.PureComponent { static defaultProps: { hasMask: boolean; size: string; time: number; }; renderLoading: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; } export default Loading;