UNPKG

@muvehealth/fixins

Version:

Component library for Muvehealth

24 lines (20 loc) 497 B
// @flow import styled from 'react-emotion' import { color, fontFamily, fontSize, fontWeight, height, lineHeight, maxWidth, space, textAlign, textStyle, width } from 'styled-system' import { shouldForwardProp } from '../../utils' const Text = styled('p', { shouldForwardProp })( { margin: 0 }, color, fontFamily, fontSize, height, fontWeight, lineHeight, maxWidth, space, textAlign, textStyle, width, ) export const Span = Text.withComponent('span') export default Text