MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / AlertAction

Function AlertAction

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

Source from the content-addressed store, hash-verified

60}
61
62function AlertAction({ className, ...props }: React.ComponentProps<"div">) {
63 return (
64 <div
65 data-slot="alert-action"
66 className={cn("absolute top-1/2 right-2 -translate-y-1/2", className)}
67 {...props}
68 />
69 )
70}
71
72export { Alert, AlertTitle, AlertDescription, AlertAction }

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected