Interface: AlertProps
@arolariu/components / AlertProps
Interface: AlertProps
Defined in: components/ui/alert.tsx:25
Represents the configurable props for the Alert component.
Remarks
Extends native <div> attributes so alerts can expose ARIA relationships,
data attributes, and custom event handlers while selecting a visual variant.
Default
variant "default"
Extends
HTMLAttributes<HTMLDivElement>
Properties
className?
optionalclassName?:string
Defined in: components/ui/alert.tsx:29
Additional CSS classes merged with the base alert surface styles.
Overrides
React.HTMLAttributes.className
variant?
optionalvariant?:AlertVariant
Defined in: components/ui/alert.tsx:35
The visual tone used to communicate neutral or destructive feedback.
Default
"default"
// was this page useful?