import React from 'react'; import { ScrollView, StyleSheet } from 'react-native'; // import moment from 'moment'; import MessageComponent from '../../app/containers/message/Message'; import StoriesSeparator from './StoriesSeparator'; import messagesStatus from '../../app/constants/messagesStatus'; import MessageSeparator from '../../app/views/RoomView/Separator'; import { themes } from '../../app/constants/colors'; let _theme = 'light'; const styles = StyleSheet.create({ separator: { marginTop: 30, marginBottom: 0 } }); const user = { id: 'y8bd77ptZswPj3EW8', username: 'diego.mello', token: '79q6lH40W4ZRGLOshDiDiVlQaCc4f_lU9HNdHLAzuHz' }; const author = { _id: 'userid', username: 'diego.mello' }; const baseUrl = 'https://open.rocket.chat'; const date = new Date(2017, 10, 10, 10); const longText = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'; const getCustomEmoji = (content) => { const customEmoji = { marioparty: { name: content, extension: 'gif' }, react_rocket: { name: content, extension: 'png' }, nyan_rocket: { name: content, extension: 'png' } }[content]; return customEmoji; }; const Message = props => ( ); // eslint-disable-next-line react/prop-types const Separator = ({ title, theme }) => ; // eslint-disable-next-line react/prop-types export default ({ theme }) => { _theme = theme; return ( {}} type='e2e' /> alert('Error pressed')} type='e2e' /> Testing block quote\nTesting block quote'} /> {}} /> {}} /> {/* */} {/* */} alert('broadcast!')} /> alert('Error pressed')} /> alert('Error pressed')} isHeader={false} /> ); };