interface ProductFeatureProps { title: string; images?: string[]; fullDescription?: string; featuresDetails?: { title: string; items: string[] }[]; } export default function ProductFeature({ title, images, fullDescription, featuresDetails }: ProductFeatureProps) { return (

{title}

{fullDescription && (

{fullDescription}

)} {featuresDetails?.map((feature, i) => (

{feature.title}

    {feature.items.map((item, j) => (
  • {item}
  • ))}
))}
{images?.map((img, i) => ( ))}
); }