import React, { FC } from 'react'; import { useTranslation } from 'react-i18next'; import { MdEco, MdMiscellaneousServices, MdPlace, MdHandshake, } from 'react-icons/md'; import { Heading, HStack, List, Text, VStack } from '@chakra-ui/react'; import { CtaButton, PageSection } from '../'; import { ListItem } from './ListItem'; export const BenefitsSection: FC = () => { const { t } = useTranslation('~', { keyPrefix: 'dry-wash.landing.benefits-section', }); const listData = [ { Icon: MdEco, children: t('list.0'), }, { Icon: MdMiscellaneousServices, children: t('list.1'), }, { Icon: MdPlace, children: t('list.2'), }, { Icon: MdHandshake, children: t('list.3'), }, ]; return ( {t('heading')} {t('description')} {listData.map((props, i) => ( ))} ); };