Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 405 | Rev 741 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 405 Rev 409
Línea 34... Línea 34...
34
 
34
 
35
const TitleSection = ({ onAdd = () => null, addLabel = '', title = '' }) => {
35
const TitleSection = ({ onAdd = () => null, addLabel = '', title = '' }) => {
36
  return (
36
  return (
37
    <StyledHeader>
37
    <StyledHeader>
-
 
38
      <h1>{title}</h1>
38
      <h1>{title}</h1>
39
      {addLabel && (
39
      <button onClick={onAdd}>
40
        <button onClick={onAdd}>
40
        <AddIcon />
41
          <AddIcon />
41
        {addLabel}
42
          {addLabel}
-
 
43
        </button>
42
      </button>
44
      )}
43
    </StyledHeader>
45
    </StyledHeader>
44
  )
46
  )
Línea 45... Línea 47...
45
}
47
}