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 | className={cn( |
| 9 | "relative flex flex-col gap-6 rounded-2xl border bg-card bg-clip-padding py-6 text-card-foreground shadow-xs before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-2xl)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-clip-border dark:before:shadow-[0_-1px_--theme(--color-white/8%)]", |
| 10 | className, |
| 11 | )} |
| 12 | data-slot="card" |
| 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