zepio/app/components/input-label.js

10 lines
313 B
JavaScript

// @flow
import styled from 'styled-components';
import { TextComponent, type Props } from './text';
export const InputLabelComponent = styled<{ ...Props, marginTop: string }>(TextComponent)`
margin: ${props => props.marginTop || '20px'} 0 8.5px 0;
font-weight: ${props => props.theme.fontWeight.bold};
`;