Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import { styled } from '@skava/modules/___dist/view-container'

const PaginationWrapper = styled.div `
  display: flex;
  justify-content: center;
  align-items: center;
`

const ActionButton = styled.button `
  font-size: 18px;
  font-weight: bold;
  border: 0px;
  margin: 2px;
  color: ${props => (props.isDisabled ? 'red' : 'grey')};
  cursor: ${props => (props.isDisabled ? 'no-drop' : 'pointer')};
`

const NextButton = ActionButton.extend `
  order: ${props => (props.isMobile ? 4 : 2)};
`

const PreviousButton = ActionButton.extend `
  order: 1;
`

const SelectBox = styled.div `
  font-family: 'Roboto';
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0px;
  padding: 4px;
`

const TextWrapper = styled.div `
  order: 3;
  display: inline-flex;
  justify-content: center;
  align-items: center;
`

const Text = styled.span `
  font-family: 'Roboto';
  padding: 5px;
`

const PreText = Text.extend `
  order: 1;
  margin-right: 4px;
`

const PostText = Text.extend `
  order: 3;
  margin-left: 4px;
`

const Select = styled.select `
  order: 2;
  min-width: 40px;
  font-size: 16px;
  -moz-appearance: none;
  -webkit-appearance: none;
  padding: 4px;
`
export {
  PaginationWrapper,
  ActionButton,
  NextButton,
  PreviousButton,
  SelectBox,
  TextWrapper,
  Text,
  PreText,
  PostText,
  Select,
}