import React from 'react';
import styles from './selling-points.module.scss';

// eslint-disable-next-line no-shadow
const sellingPoints = ({ sellingPoints }) => (
  <ul className={styles?.sellingPoints || ''}>
    {sellingPoints?.map((itsName) => (
      <li className={styles?.sellingPointsName || ''}>{itsName.name}</li>
    ))}
  </ul>
);

export default sellingPoints;
