Function
AlertTitle
({ className, ...props }: React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 31 | } |
| 32 | |
| 33 | function AlertTitle({ className, ...props }: React.ComponentProps<"div">) { |
| 34 | return ( |
| 35 | <div |
| 36 | data-slot="alert-title" |
| 37 | className={cn( |
| 38 | "font-medium group-has-[>svg]/alert:col-start-2 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3", |
| 39 | className |
| 40 | )} |
| 41 | {...props} |
| 42 | /> |
| 43 | ) |
| 44 | } |
| 45 | |
| 46 | function AlertDescription({ |
| 47 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected