import React, { Component } from 'react'; import { DialogProps } from '@alifd/next/types/dialog'; export interface propsType extends DialogProps { /** 图标类型 */ iconType: string; /** 图标大小 */ iconSize: "inherit" | "small" | "xxs" | "xs" | "medium" | "large" | "xl" | "xxl" | "xxxl"; /** 图标类型 */ iconColor: string; /**不显示Icon */ noIcon: boolean; /**是否是简洁调用 */ isQuick?: boolean; /**内容 */ content?: React.ReactNode; } interface defaultType { visible: boolean; iconType: string; iconSize: string; noIcon: boolean; iconColor: undefined; locale: { ok: string; }; } interface stateType { visible: boolean; } declare class IotAlert extends Component { static defaultProps: defaultType; constructor(props: any); handleOnClose: (trigger: any, event: any) => void; handleOnOK: (event: any) => void; render(): JSX.Element; } export default IotAlert;