MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / AlertTitle

Function AlertTitle

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

Source from the content-addressed store, hash-verified

35}
36
37function AlertTitle({ className, ...props }: React.ComponentProps<"div">) {
38 return (
39 <div
40 data-slot="alert-title"
41 className={cn(
42 "col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",
43 className
44 )}
45 {...props}
46 />
47 )
48}
49
50function AlertDescription({
51 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected