Function
CardHeader
({ className, ...props }: React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 21 | } |
| 22 | |
| 23 | function CardHeader({ className, ...props }: React.ComponentProps<"div">) { |
| 24 | return ( |
| 25 | <div |
| 26 | data-slot="card-header" |
| 27 | className={cn( |
| 28 | "group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3", |
| 29 | className |
| 30 | )} |
| 31 | {...props} |
| 32 | /> |
| 33 | ) |
| 34 | } |
| 35 | |
| 36 | function CardTitle({ className, ...props }: React.ComponentProps<"div">) { |
| 37 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected