import React, { FC } from 'react';
import css from './index.module.css';

export interface UspProps {
  items: string[];
}

const Usp: FC<UspProps> = ({ items }) => {
  return (
    <div className={css.usp}>
      {items &&
        items.map(item => (
          <div key={item} className={css.usp__item}>
            {item}
          </div>
        ))}
    </div>
  );
};

export default Usp;
