import React from 'react' ; import styled from 'styled-components' ; interface LabelProps { text ? : string ; } const Label = ( { text } ) => ( < StyledLabel > { text } < /StyledLabel>); const StyledLabel = styled . div `
  color: ${ props => props . theme . color . grey [ 800 ] };
  text-align: center;
  font-weight: 300;
  margin-top: 5px;
` ; export default Label ;