Function
Card
({ className, ...props }: React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 3 | import { cn } from "@/lib/utils"; |
| 4 | |
| 5 | function Card({ className, ...props }: React.ComponentProps<"div">) { |
| 6 | return ( |
| 7 | <div |
| 8 | data-slot="card" |
| 9 | className={cn( |
| 10 | "bg-card text-card-foreground flex flex-col gap-3 rounded-xl border py-6 shadow-sm", |
| 11 | className, |
| 12 | )} |
| 13 | {...props} |
| 14 | /> |
| 15 | ); |
| 16 | } |
| 17 | |
| 18 | function CardHeader({ className, ...props }: React.ComponentProps<"div">) { |
| 19 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected