import React, { FunctionComponent } from 'react' import styled from 'styled-components' import { InputWithLabel } from '../inputWithLabel/InputWithLabel' import { distance } from '../../style/sizes' interface ChartInfoBoxProps { description: string bold?: boolean } export const ChartInfoBox: FunctionComponent = props => { return {props.description} {props.children} } const StyledChartInfoBox = styled.div` display: flex; flex-direction: column; background: ${({ theme }) => theme.colors.backgroundSecondary}; ` const StyledRow = styled.div` padding: ${distance.large}; display: flex; flex-direction: row; `