MCPcopy Create free account
hub / github.com/arctic-cli/interface / AlertDialogFooter

Function AlertDialogFooter

packages/web/components/ui/alert-dialog.tsx:86–105  ·  view source on GitHub ↗
({
  className,
  variant = "default",
  ...props
}: React.ComponentProps<"div"> & {
  variant?: "default" | "bare";
})

Source from the content-addressed store, hash-verified

84}
85
86function AlertDialogFooter({
87 className,
88 variant = "default",
89 ...props
90}: React.ComponentProps<"div"> & {
91 variant?: "default" | "bare";
92}) {
93 return (
94 <div
95 className={cn(
96 "flex flex-col-reverse gap-2 px-6 sm:flex-row sm:justify-end sm:rounded-b-[calc(var(--radius-2xl)-1px)]",
97 variant === "default" && "border-t bg-muted/50 py-4",
98 variant === "bare" && "pt-4 pb-6",
99 className,
100 )}
101 data-slot="alert-dialog-footer"
102 {...props}
103 />
104 );
105}
106
107function AlertDialogTitle({
108 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected