import React from 'react'; import CircleIcon from 'app/shared/components/circleIcon/circleIcon'; export interface Props { imageUrl?: string; text?: string; subText?: string; link?: string; isMedia?: boolean; onClick?: () => void; } const BunkerAdjustmentInfoBox = ({ imageUrl, text, subText, link, isMedia, onClick }: Props) => (
info
{ isMedia && } { !isMedia && link && link.length > 0 && Open }
{text} {subText}
); export { BunkerAdjustmentInfoBox };