UNPKG

@unstoppabledomains/ui-kit

Version:

A set of common Unstoppable Domains components

15 lines (14 loc) 481 B
import type { AlertProps as MuiAlertProps, AlertClasses as MuiAlertClasses } from '@mui/material/Alert'; import type { FC, ReactNode } from 'react'; export type AlertClasses = Partial<MuiAlertClasses & { heading: string; body: string; }>; export type AlertProps = MuiAlertProps & { heading?: ReactNode; size?: AlertSize; classes?: AlertClasses; }; export type AlertSize = 'small' | 'medium' | 'large'; declare const Alert: FC<AlertProps>; export default Alert;