import type { ReactNode } from 'react' export interface CardProps { children: ReactNode className?: string as?: 'div' | 'section' | 'article' /** Names a section card by its heading, so it reads as a named region. */ 'aria-labelledby'?: string } export default function Card({ children, className = '', as: Tag = 'div', 'aria-labelledby': labelledBy, }: CardProps) { return ( {children} ) }