UNPKG

@theme-ui/components

Version:

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

11 lines (10 loc) 405 B
import { BoxProps } from "./Box.js"; import type { ForwardRef } from "./types.js"; export 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>;