Function
AlertAction
({ className, ...props }: React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 65 | } |
| 66 | |
| 67 | function AlertAction({ className, ...props }: React.ComponentProps<"div">) { |
| 68 | return ( |
| 69 | <div |
| 70 | className={cn( |
| 71 | "flex gap-1 max-sm:col-start-2 max-sm:mt-2 sm:row-start-1 sm:row-end-3 sm:self-center sm:[[data-slot=alert-description]~&]:col-start-2 sm:[[data-slot=alert-title]~&]:col-start-2 sm:[svg~&]:col-start-2 sm:[svg~[data-slot=alert-description]~&]:col-start-3 sm:[svg~[data-slot=alert-title]~&]:col-start-3", |
| 72 | className, |
| 73 | )} |
| 74 | data-slot="alert-action" |
| 75 | {...props} |
| 76 | /> |
| 77 | ); |
| 78 | } |
| 79 | |
| 80 | export { Alert, AlertTitle, AlertDescription, AlertAction }; |
Callers
nothing calls this directly
Tested by
no test coverage detected