UNPKG

@yuntijs/ui

Version:

☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps

14 lines (13 loc) 467 B
import { Alert as AntdAlert, type AlertProps as AntdAlertProps } from 'antd'; import React from 'react'; export interface CustomAlertProps { /** border type of Alert */ bordered?: 'dashed' | 'solid' | 'none'; } export interface AlertProps extends AntdAlertProps, CustomAlertProps { } type ComposedAlertProps = React.FC<AlertProps> & { ErrorBoundary: typeof AntdAlert.ErrorBoundary; }; export declare const Alert: ComposedAlertProps; export default Alert;