import { Card, Group, Stack, Text } from '@mantine/core'; import type { ReactNode } from 'react'; import classes from './OptionCard.module.scss'; type OptionCardProps = { title: string; icon?: ReactNode; children: ReactNode; }; export function OptionCard({ title, icon, children }: OptionCardProps) { return ( {icon && icon} {title} {children} ); }