import React, { FC } from 'react' import { Flex, Box } from '@vtex/store-ui' import { slugify } from './utils/slugify' import { FormattedPrice } from '../FormattedPrice/FormattedPrice' interface Props { label: string name?: string large: boolean value: number | null } export const SummaryItem: FC = ({ label, name, large, value }) => { const itemId = slugify(label) return ( {name || label} ) }