Function
AlertDialogHeader
({
className,
...props
}: React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 62 | } |
| 63 | |
| 64 | function AlertDialogHeader({ |
| 65 | className, |
| 66 | ...props |
| 67 | }: React.ComponentProps<"div">) { |
| 68 | return ( |
| 69 | <div |
| 70 | data-slot="alert-dialog-header" |
| 71 | className={cn( |
| 72 | "grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", |
| 73 | className |
| 74 | )} |
| 75 | {...props} |
| 76 | /> |
| 77 | ); |
| 78 | } |
| 79 | |
| 80 | function AlertDialogFooter({ |
| 81 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected