import { useIntl } from '@vtex/gatsby-plugin-i18n' import { Box, ProductQuantityTitle, NumericStepper } from '@vtex/store-ui' import React, { FC } from 'react' interface Props { onChange: (quantity: number) => void } const Quantity: FC = ({ onChange }) => { const quantity = { maxValue: Number.MAX_SAFE_INTEGER, minValue: 1, onChange } const { formatMessage } = useIntl() return ( {formatMessage({ id: 'product.quantity.title' })} ) } export default Quantity