UNPKG

@muvehealth/fixins

Version:

Component library for Muvehealth

34 lines (30 loc) 650 B
// @flow import styled from 'react-emotion' import { alignContent, alignItems, borderColor, borders, color, flexDirection, flexWrap, fontSize, height, justifyContent, maxWidth, minHeight, space, style, textStyle, width, } from 'styled-system' import { shouldForwardProp } from '../../utils' const background = style({ prop: 'background', }) const Flex = styled('div', { shouldForwardProp })( { display: 'flex' }, alignContent, alignItems, background, borderColor, borders, color, flexDirection, flexWrap, fontSize, height, justifyContent, maxWidth, minHeight, space, width, textStyle, ) export default Flex