import { FC } from 'react'; import { Base, Column, Flex, Text } from '..'; import { LocalizeText } from '../../api'; import { DraggableWindow } from '../draggable-window'; interface LayoutTrophyViewProps { color: string; message: string; date: string; senderName: string; customTitle?: string; onCloseClick: () => void; } export const LayoutTrophyView: FC = props => { const { color = '', message = '', date = '', senderName = '', customTitle = null, onCloseClick = null } = props; return ( { LocalizeText('widget.furni.trophy.title') } { customTitle && { customTitle } } { message } { date } { senderName } ); }