Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15501 Rev 15502
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import styled from 'styled-components'
2
import styled from 'styled-components'
3
import Pagination from 'react-bootstrap/Pagination'
3
import Pagination from 'react-bootstrap/Pagination'
Línea 4... Línea 4...
4
 
4
 
5
const StyledPagination = styled(Pagination)`
5
const StyledPagination = styled(Pagination)`
6
  display: flex;
-
 
7
  justify-content: center;
-
 
8
  align-items: center;
6
  display: inline-flex;
9
  flex-direction: ${props => props.isRow ? 'row' : 'column'} !important;
-
 
10
  position: inherit !important;
-
 
11
  transform: inherit !important;
-
 
12
  top: inherit !important;
-
 
13
  left: inherit !important;
7
  flex-direction: ${props => props.isRow ? 'row' : 'column'} !important;
Línea 14... Línea 8...
14
`
8
`
15
 
9
 
16
const PaginationComponent = ({ pages = 1, currentActivePage = 1, onChangePage, isRow = true }) => {
10
const PaginationComponent = ({ pages = 1, currentActivePage = 1, onChangePage, isRow = true }) => {