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

Function AlertDescription

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

Source from the content-addressed store, hash-verified

44}
45
46function AlertDescription({
47 className,
48 ...props
49}: React.ComponentProps<"div">) {
50 return (
51 <div
52 data-slot="alert-description"
53 className={cn(
54 "text-muted-foreground text-sm text-balance md:text-pretty group-has-[>svg]/alert:col-start-2 [&_p:not(:last-child)]:mb-4 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",
55 className
56 )}
57 {...props}
58 />
59 )
60}
61
62function AlertAction({ className, ...props }: React.ComponentProps<"div">) {
63 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected