MCPcopy
hub / github.com/cursor/cookbook / CardTitle

Function CardTitle

sdk/app-builder/src/components/ui/card.tsx:36–47  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

34}
35
36function CardTitle({ className, ...props }: React.ComponentProps<"div">) {
37 return (
38 <div
39 data-slot="card-title"
40 className={cn(
41 "font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",
42 className
43 )}
44 {...props}
45 />
46 )
47}
48
49function CardDescription({ className, ...props }: React.ComponentProps<"div">) {
50 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected