import * as React from 'react'; import { ColorOption } from '../style/theme'; import { Container } from './ui/container'; import { Flex } from './ui/flex'; import { Text } from './ui/text'; export interface MoreInfoSettings { text: string; href: string; } export interface StandardPanelContentProps { image: React.ReactNode; title?: string; description: string; moreInfoSettings?: MoreInfoSettings; action: React.ReactNode; } const SPACING_BETWEEN_PX = '20px'; export const StandardPanelContent: React.StatelessComponent = ({ image, title, description, moreInfoSettings, action, }) => ( {image} {title && ( {title} )} {description} {moreInfoSettings && ( {moreInfoSettings.text} )} {action} );