import React from 'react'; import I18n from '../../i18n'; import { ISubscription } from '../../definitions'; import Item from './Item'; const Channel = ({ room }: { room?: ISubscription }): React.ReactElement => { const description = room?.description || `__${I18n.t('No_label_provided', { label: 'description' })}__`; const topic = room?.topic || `__${I18n.t('No_label_provided', { label: 'topic' })}__`; const announcement = room?.announcement || `__${I18n.t('No_label_provided', { label: 'announcement' })}__`; const broadcast = room?.broadcast ? I18n.t('Broadcast_hint') : ''; return ( <> ); }; export default Channel;