import * as React from 'react'; import { ColorOption } from '../style/theme'; import { Container, Flex, Text } from './ui'; export interface OrderDetailsProps {} export const OrderDetails: React.StatelessComponent = props => ( Order Details ); OrderDetails.displayName = 'OrderDetails'; export interface OrderDetailsRowProps { name: string; primaryValue: string; secondaryValue: string; shouldEmphasize?: boolean; } export const OrderDetailsRow: React.StatelessComponent = props => { const fontWeight = props.shouldEmphasize ? 700 : 400; return ( {props.name} ({props.secondaryValue}) {props.primaryValue} ); }; OrderDetailsRow.defaultProps = { shouldEmphasize: false, }; OrderDetailsRow.displayName = 'OrderDetailsRow';