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

Function AlertTitle

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

Source from the content-addressed store, hash-verified

31}
32
33function AlertTitle({ className, ...props }: React.ComponentProps<"div">) {
34 return (
35 <div
36 data-slot="alert-title"
37 className={cn(
38 "font-medium group-has-[>svg]/alert:col-start-2 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",
39 className
40 )}
41 {...props}
42 />
43 )
44}
45
46function AlertDescription({
47 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected