Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6707 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
6707 stevensc 1
import React from 'react'
2
 
6730 stevensc 3
const TitleSection = ({ onAdd, title, addLabel }) => {
6707 stevensc 4
  return (
5
    <div className="company-title">
6
      <h1 className="title mx-auto">{title}</h1>
7
      {addLabel && (
8
        <h2 className="title cursor-pointer" onClick={onAdd}>
9
          {addLabel}
10
        </h2>
11
      )}
12
    </div>
13
  )
14
}
15
 
16
export default TitleSection