import type { HTMLProps } from 'react'; import { Heading as AriaHeading } from 'react-aria-components'; import { cn } from '~/utils/cn'; function Title(props: Parameters[0]) { return ( ); } function Text(props: React.HTMLProps) { return (

); } type Props = HTMLProps & { variant?: 'raised' | 'flat'; }; function Card(props: Props) { return (

{props.children}
); } export default Object.assign(Card, { Title, Text });