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'
import { MaterialIcon } from 'atoms/MaterialIcon'

const NavigationIcon = styled(MaterialIcon)`
  fill: ${props => props.arrowIconColor};
  width: ${props => props.arrowIconSize + 'px'};
  cursor: pointer;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  z-index: 1;

  ${props =>
    props.align === 'left' &&
    styled.css`
      left: 0;
      right: auto;
    `}

  ${props =>
    props.align === 'right' &&
    styled.css`
      left: auto;
      right: 0;
    `}
    opacity: ${props => (props.shouldActive === true ? 1 : 0.5)};
    pointer-events: ${props => (props.shouldActive === true ? 'auto' : 'none')};
`

export { NavigationIcon }