import React from 'react'; import { Dimensions } from 'react-native'; import { longText } from '../../../.storybook/utils'; import { DisplayMode } from '../../lib/constants'; import RoomItemComponent from './RoomItem'; const { width } = Dimensions.get('window'); const _theme = 'light'; const lastMessage = { u: { username: 'diego.mello' }, msg: longText }; const updatedAt = { date: '10:00' }; const RoomItem = (props: any) => ( ); export default { title: 'RoomItem' }; export const Basic = () => ; export const Touch = () => alert('on press')} onLongPress={() => alert('on long press')} />; export const User = () => ( <> ); export const Type = () => ( <> ); export const Alerts = () => ( <> ); export const Tag = () => ( <> ); export const LastMessage = () => ( <> ); export const CondensedRoomItem = () => ( <> ); export const CondensedRoomItemWithoutAvatar = () => ( <> ); export const ExpandedRoomItemWithoutAvatar = () => ( <> ); export const OmnichannelIcon = () => ( <> );