MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / AlertDialogHeader

Function AlertDialogHeader

components/ui/alert-dialog.tsx:64–78  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

62}
63
64function 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
80function AlertDialogFooter({
81 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected