MCPcopy Create free account
hub / github.com/bytebase/dbhub / AlertDialogHeader

Function AlertDialogHeader

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

Source from the content-addressed store, hash-verified

68}
69
70function AlertDialogHeader({
71 className,
72 ...props
73}: React.ComponentProps<"div">) {
74 return (
75 <div
76 className={cn(
77 "flex flex-col gap-2 p-6 not-has-[+[data-slot=alert-dialog-footer]]:pb-4 text-center max-sm:pb-4 sm:text-left",
78 className,
79 )}
80 data-slot="alert-dialog-header"
81 {...props}
82 />
83 );
84}
85
86function AlertDialogFooter({
87 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected