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