@muvehealth/fixins
Version: 
Component library for Muvehealth
26 lines (23 loc) • 471 B
Flow
// @flow
import styled from 'react-emotion'
import withProps from 'recompose/withProps'
import Absolute from '../Absolute'
const MSMenu = styled(Absolute)({
  borderRadius: 4,
  boxShadow: '0 0 3px 0 rgba(0,0,0,0.3)',
  maxHeight: '12rem',
  outline: '0',
  overflowX: 'hidden',
  overflowY: 'auto',
  transition: 'opacity .1s ease',
  width: '100%',
  zIndex: 10,
})
export default withProps({
  mt: 2,
  pb: 2,
  pt: 2,
  bg: 'white',
  left: 0,
  top: 0,
})(MSMenu)