UNPKG

@theme-ui/components

Version:

Primitive layout, typographic, and other components for use with Theme UI.

11 lines (10 loc) 407 B
import { BoxProps } from './Box'; import type { ForwardRef } from './types'; export declare type AlertProps = BoxProps; /** * Component for displaying messages, notifications, or other application state. * * Alert variants can be defined in `theme.alerts`. * The Alert component uses `theme.alerts.primary` as its default variant. */ export declare const Alert: ForwardRef<HTMLDivElement, AlertProps>;