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 'styleh-components'

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

/**
 * @todo use button!!!
 */
const actionButtonStyles = styled.css `
  font-size: 18px;
  font-weight: bold;
  border: 0px;
  margin: 2px;
  color: ${props => (props.isDisabled ? 'red' : 'grey')};
  cursor: ${props => (props.isDisabled ? 'no-drop' : 'pointer')};
`
const ActionButton = styled.button `
  ${actionButtonStyles};
`
const NextButton = styled.button `
  ${actionButtonStyles};
  order: ${props => (props.isMobile ? 4 : 2)};
`
const PreviousButton = styled.button `
  ${actionButtonStyles};
  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;
`

/**
 * @todo use text from atoms
 */
const Text = styled.span `
  font-family: 'Roboto';
  padding: 5px;
`

const PreText = styled.span `
  font-family: 'Roboto';
  padding: 5px;
  order: 1;
  margin-right: 4px;
`

const PostText = styled.span `
  font-family: 'Roboto';
  padding: 5px;
  order: 3;
  margin-left: 4px;
`

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