import type { ComponentProps } from "react"; import { cn } from "../ui/cn"; function Root({ className, ...props }: ComponentProps<"div">) { return
; } function Secondary({ className, ...props }: ComponentProps<"div">) { return ; } function Primary({ className, ...props }: ComponentProps<"div">) { return ; } /** * A card: a panel on a soft shadow ring. It gives a page its structure: every list, table, file and form sits * in one. `Secondary` is its header row, divided by a hairline; `Primary` holds padded content. */ export const LayerCard = Object.assign(Root, { Primary, Secondary });