UNPKG

@start-base/start-ui

Version:

<p align="center"> <a href="https://startbase.dev" target="_blank"> <img src="https://startbase.dev/apple-touch-icon.png" width="60px" style="padding-top: 60px" /> </a> </p>

23 lines (19 loc) 739 B
import React$1 from 'react'; type AlertSeverity = 'success' | 'info' | 'warning' | 'error'; type AlertVariant = 'default' | 'filled' | 'outlined'; interface AlertProps extends React.AllHTMLAttributes<HTMLDivElement> { severity?: AlertSeverity; variant?: AlertVariant; color?: AlertSeverity | 'inherit'; actionElement?: React.ReactNode; icon?: React.ReactNode; alertTitle?: string | boolean; open?: boolean; children?: React.ReactNode; iconClassName?: string; bodyClassName?: string; titleClassName?: string; textClassName?: string; } declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>; export { type AlertProps, Alert as default };