import { ComponentProps, FC, ReactNode } from 'react'; import { Colors, DeepPartial, RoundedSizes } from '../../types/types'; import { AlertTheme } from './theme'; export interface AlertProps extends Omit, "color"> { additionalContent?: ReactNode; color?: Colors; icon?: FC>; onDismiss?: () => void; rounded?: RoundedSizes; theme?: DeepPartial; bordered?: boolean; } /** * * @name Alert * * @description The Alert component is used to display a message to the user * * @param {React.ReactNode} props.additionalContent - The additional content of the alert * * @param {Colors} props.color - The color of the alert * * @param {FC>} props.icon - The icon of the alert * * @param {() => void} props.onDismiss - The function to call when the alert is dismissed * * @param {RoundedSizes} props.rounded - The rounded size of the alert * * @param {DeepPartial} props.theme - The theme of the alert * * @param {boolean} props.bordered - The border of the alert * * @param {ComponentProps<'div'>} props - The props of the alert * * @returns React.ReactNode * * @example * alert('Dismissed')} * color={ColorsEnum.primary} * icon={BiCheck} * rounded={RoundedSizesEnum.lg} * bordered * > * This is a primary alert with a check icon * */ export declare const Alert: FC; //# sourceMappingURL=Alert.d.ts.map