import React from 'react'; import { Text, View } from 'react-native'; import { themes } from '../../lib/constants'; import I18n from '../../i18n'; import { useTheme } from '../../theme'; import Timezone from './Timezone'; import CustomFields from './CustomFields'; import styles from './styles'; const Roles = ({ roles }: { roles: string[] }) => { const { theme } = useTheme(); if (roles && roles.length) { {I18n.t('Roles')} {roles.map(role => role ? ( {role} ) : null )} ; } return null; }; const Direct = ({ roomUser }: { roomUser: any }) => ( <> ); export default Direct;