Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4375 Rev 4392
Línea 1... Línea 1...
1
/* eslint-disable react/prop-types */
1
/* eslint-disable react/prop-types */
2
import React from 'react'
2
import React from 'react'
Línea 3... Línea 3...
3
 
3
 
4
const EmptySection = ({
4
const EmptySection = ({
5
  Icon = null,
5
  Icon = null,
-
 
6
  message = 'No hay publicaciones',
6
  message = 'No hay publicaciones'
7
  align = 'center',
7
}) => {
8
}) => {
8
  return (
9
  return (
9
    <div className='empty__section'>
10
    <div className='empty__section' style={{ alignItems: align }}>
10
      {Icon && Icon}
11
      {Icon && Icon}
11
      <p>{message}</p>
12
      <p>{message}</p>
12
    </div>
13
    </div>
13
  )
14
  )