diff --git a/src/components/ui/Card.tsx b/src/components/ui/Card.tsx index fbf718be..c85f9314 100644 --- a/src/components/ui/Card.tsx +++ b/src/components/ui/Card.tsx @@ -1,3 +1,20 @@ -export default function Card() { - return
Card placeholder
+import type { ReactNode } from 'react' + +export interface CardProps { + children: ReactNode + className?: string + as?: 'div' | 'section' | 'article' +} + +export default function Card({ children, className = '', as: Tag = 'div' }: CardProps) { + return ( + + {children} + + ) }