import React from 'react'; import { ScrollView, Dimensions } from 'react-native'; // import moment from 'moment'; import { themes } from '../../app/constants/colors'; import RoomItemComponent from '../../app/presentation/RoomItem/RoomItem'; import { longText } from '../utils'; import StoriesSeparator from './StoriesSeparator'; const baseUrl = 'https://open.rocket.chat'; const { width } = Dimensions.get('window'); let _theme = 'light'; const lastMessage = { u: { username: 'diego.mello' }, msg: longText }; const updatedAt = { date: '10:00', roomUpdatedAt: new Date('2020-01-01') }; const RoomItem = props => ( ); // eslint-disable-next-line react/prop-types const Separator = ({ title }) => ; // eslint-disable-next-line react/prop-types export default ({ theme }) => { _theme = theme; return ( ); };