@oceanbase/design
Version:
The Design System of OceanBase
14 lines (13 loc) • 536 B
TypeScript
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;