Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 5088 | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

/* eslint-disable react/prop-types */
import React from 'react'

const TitleSection = ({ allowAdd, onAdd, title }) => {
  return (
    <div className="company-title">
        <h1 className="title mx-auto">{title}</h1>
        {allowAdd &&
            <h2 className="title cursor-pointer" onClick={onAdd}>
                {LABELS.ADD}
            </h2>}
    </div>
  )
}

export default TitleSection