Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 5088 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 5088 Rev 5094
Línea 4... Línea 4...
4
const TitleSection = ({ allowAdd, onAdd, title }) => {
4
const TitleSection = ({ allowAdd, onAdd, title }) => {
5
  return (
5
  return (
6
    <div className="company-title">
6
    <div className="company-title">
7
        <h1 className="title mx-auto">{title}</h1>
7
        <h1 className="title mx-auto">{title}</h1>
8
        {allowAdd &&
8
        {allowAdd &&
9
            <h2 className="title" onClick={onAdd}>
9
            <h2 className="title cursor-pointer" onClick={onAdd}>
10
                {LABELS.ADD}
10
                {LABELS.ADD}
11
            </h2>}
11
            </h2>}
12
    </div>
12
    </div>
13
  )
13
  )
14
}
14
}