import React, { FC } from 'react' import { Box } from '@vtex/store-ui' import { useItemContext } from './ItemContext' import { opaque } from './utils/opaque' export const ProductVariations: FC = () => { const { item } = useItemContext() return item.skuSpecifications && item.skuSpecifications.length > 0 ? ( {item.skuSpecifications.map((spec: any) => { return (
{`${spec.fieldName}: ${spec.fieldValues.join(', ')}`}
) })}
) : null }