2018-12-19 13:40:24 -08:00
|
|
|
// @flow
|
2019-02-04 20:41:45 -08:00
|
|
|
|
2018-12-19 13:40:24 -08:00
|
|
|
import styled from 'styled-components';
|
|
|
|
|
|
|
|
import { TextComponent } from './text';
|
|
|
|
|
2019-02-06 19:06:48 -08:00
|
|
|
type Props = PropsWithTheme<{
|
|
|
|
marginTop: string,
|
|
|
|
}>;
|
|
|
|
|
2018-12-19 13:40:24 -08:00
|
|
|
export const InputLabelComponent = styled(TextComponent)`
|
2019-02-06 19:06:48 -08:00
|
|
|
margin: ${(props: Props) => props.marginTop || '20px'} 0 8.5px 0;
|
|
|
|
font-weight: ${(props: Props) => String(props.theme.fontWeight.bold)};
|
2018-12-19 13:40:24 -08:00
|
|
|
`;
|