Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 409 Rev 741
Línea 30... Línea 30...
30
  @media ${device.mobile} {
30
  @media ${device.mobile} {
31
    justify-content: space-between;
31
    justify-content: space-between;
32
  }
32
  }
33
`
33
`
Línea 34... Línea 34...
34
 
34
 
-
 
35
const TitleSection = ({
-
 
36
  onAdd = () => null,
-
 
37
  addLabel = '',
-
 
38
  title = '',
-
 
39
  ...rest
35
const TitleSection = ({ onAdd = () => null, addLabel = '', title = '' }) => {
40
}) => {
36
  return (
41
  return (
37
    <StyledHeader>
42
    <StyledHeader {...rest}>
38
      <h1>{title}</h1>
43
      <h1>{title}</h1>
39
      {addLabel && (
44
      {addLabel && (
40
        <button onClick={onAdd}>
45
        <button onClick={onAdd}>
41
          <AddIcon />
46
          <AddIcon />