Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1775 Rev 2924
Línea 1... Línea 1...
1
import React, { useMemo } from 'react'
1
import React, { useMemo } from 'react'
2
import { Pagination } from '@mui/material'
2
import { Pagination, styled } from '@mui/material'
3
import styled from 'styled-components'
3
import colors from '@styles/colors'
Línea 4... Línea 4...
4
 
4
 
5
const StyledPagination = styled(Pagination)`
5
const StyledPagination = styled(Pagination)`
6
  display: flex;
6
  display: flex;
7
  justify-content: center;
7
  justify-content: center;
8
  align-items: center;
8
  align-items: center;
9
  gap: 0.5rem;
9
  gap: 0.5rem;
10
  flex-direction: ${(props) => (props.isRow ? 'row' : 'column')};
10
  flex-direction: ${(props) => (props.isRow ? 'row' : 'column')};
11
  width: 100%;
11
  width: 100%;
12
  .MuiPaginationItem-root {
12
  .MuiPaginationItem-root {
13
    background-color: ${(props) => props.theme.background.color.primary};
13
    background-color: ${colors.main};
14
  }
14
  }
Línea 15... Línea 15...
15
`
15
`
16
 
16