import { TbAt, TbSun } from 'react-icons/tb'; import { Box, Stack, Text } from '@mantine/core'; import classes from './ContactIcons.module.css'; interface ContactIconProps extends Omit, 'title'> { icon: typeof TbSun; title: React.ReactNode; description: React.ReactNode; } function ContactIcon({ icon: Icon, title, description, ...others }: ContactIconProps) { return (
{title} {description}
); } const MOCKDATA = [{ title: 'Email', description: 'hello@mantine.dev', icon: TbAt }]; export function ContactIconsList() { const items = MOCKDATA.map((item, index) => ); return {items}; }