Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5087 Rev 5088
Línea 2... Línea 2...
2
import React from 'react'
2
import React from 'react'
Línea 3... Línea 3...
3
 
3
 
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">{title}</h1>
7
        <h1 className="title mx-auto">{title}</h1>
8
        {allowAdd &&
8
        {allowAdd &&
9
            <h2 className="title" onClick={onAdd}>
9
            <h2 className="title" onClick={onAdd}>
10
                {LABELS.ADD}
10
                {LABELS.ADD}
11
            </h2>}
11
            </h2>}