/* eslint-disable import/no-extraneous-dependencies */
import React from 'react';
import { Dimensions, ScrollView } from 'react-native';
import { storiesOf } from '@storybook/react-native';
import { Provider } from 'react-redux';
import RoomItemComponent from '../../app/containers/RoomItem/RoomItem';
import { longText } from '../utils';
import { DisplayMode, themes } from '../../app/lib/constants';
import { store } from './index';
const baseUrl = 'https://open.rocket.chat';
const { width } = Dimensions.get('window');
const _theme = 'light';
const lastMessage = {
u: {
username: 'diego.mello'
},
msg: longText
};
const updatedAt = {
date: '10:00'
};
const RoomItem = props => (
);
const stories = storiesOf('Room Item', module)
.addDecorator(story => {story()})
.addDecorator(story => {story()});
stories.add('Basic', () => );
stories.add('Touch', () => alert('on press')} onLongPress={() => alert('on long press')} />);
stories.add('User', () => (
<>
>
));
stories.add('Type', () => (
<>
>
));
stories.add('User status', () => (
<>
>
));
stories.add('Alerts', () => (
<>
>
));
stories.add('Tag', () => (
<>
>
));
stories.add('Last Message', () => (
<>
>
));
stories.add('Condensed Room Item', () => (
<>
>
));
stories.add('Condensed Room Item without Avatar', () => (
<>
>
));
stories.add('Expanded Room Item without Avatar', () => (
<>
>
));
stories.add('Omnichannel Icon', () => (
<>
>
));