Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1625 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1625 Rev 1775
Línea 15... Línea 15...
15
`
15
`
Línea 16... Línea 16...
16
 
16
 
17
const PaginationComponent = ({
17
const PaginationComponent = ({
18
  pages = 1,
18
  pages = 1,
19
  currentActivePage = 1,
19
  currentActivePage = 1,
20
  onChangePage,
20
  onChangePage = () => {},
21
  isRow
21
  isRow = true
22
}) => {
22
}) => {
23
  const currentPage = useMemo(
23
  const currentPage = useMemo(
24
    () => Number(currentActivePage) || 1,
24
    () => Number(currentActivePage) || 1,
25
    [currentActivePage]
25
    [currentActivePage]