import React from 'react'; import Title from '~/components/Title'; import { cn } from '~/utils/cn'; function Text(props: React.HTMLProps) { return (

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

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