Files
shadcn-ui/deprecated/www/components/component-card.tsx
shadcn 2bfc1c82ba chore: deprecate www (#8629)
* chore: deprecate www

* chore: updates

* fix
2025-10-29 20:50:55 +04:00

22 lines
463 B
TypeScript

import React from "react"
import { cn } from "@/lib/utils"
import { AspectRatio } from "@/registry/new-york/ui/aspect-ratio"
export function ComponentCard({
className,
...props
}: React.HTMLAttributes<HTMLDivElement>) {
return (
<AspectRatio ratio={1 / 1} asChild>
<div
className={cn(
"flex items-center justify-center rounded-md border p-8",
className
)}
{...props}
/>
</AspectRatio>
)
}