import React from 'react';
import { View, Text } from 'react-native';
import PropTypes from 'prop-types';
import { themes } from '../../constants/colors';
import I18n from '../../i18n';
import Timezone from './Timezone';
import CustomFields from './CustomFields';
import styles from './styles';
const Roles = ({ roles, theme }) => (roles && roles.length ? (
{I18n.t('Roles')}
{roles.map(role => (role ? (
{role}
) : null))}
) : null);
Roles.propTypes = {
roles: PropTypes.array,
theme: PropTypes.string
};
const Direct = ({ roomUser, theme }) => (
<>
>
);
Direct.propTypes = {
roomUser: PropTypes.object,
theme: PropTypes.string
};
export default Direct;