UNPKG

@oceanbase/design

Version:
14 lines (13 loc) 536 B
import React from 'react'; import type { AlertProps as AntAlertProps } from 'antd/es/alert'; export * from 'antd/es/alert'; export interface AlertProps extends AntAlertProps { ghost?: boolean; colored?: boolean; } declare const Alert: { ({ type, ghost, colored, prefixCls: customizePrefixCls, className, ...restProps }: AlertProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>; ErrorBoundary: typeof import("antd/es/alert/ErrorBoundary").default; displayName: string; }; export default Alert;