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

Function AlertDialogCancel

components/ui/alert-dialog.tsx:157–172  ·  view source on GitHub ↗
({
  className,
  variant = "outline",
  size = "default",
  ...props
}: AlertDialogPrimitive.Close.Props &
  Pick<React.ComponentProps<typeof Button>, "variant" | "size">)

Source from the content-addressed store, hash-verified

155}
156
157function AlertDialogCancel({
158 className,
159 variant = "outline",
160 size = "default",
161 ...props
162}: AlertDialogPrimitive.Close.Props &
163 Pick<React.ComponentProps<typeof Button>, "variant" | "size">) {
164 return (
165 <AlertDialogPrimitive.Close
166 data-slot="alert-dialog-cancel"
167 className={cn(className)}
168 render={<Button variant={variant} size={size} />}
169 {...props}
170 />
171 );
172}
173
174export {
175 AlertDialog,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected