/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */ import { combineReducers, createStore } from 'redux'; import './RoomItem'; import './List'; import './ServerItem'; import './Message'; import './UiKitMessage'; import './UiKitModal'; import './Markdown'; import './HeaderButtons'; import './UnreadBadge'; import '../../app/views/ThreadMessagesView/Item.stories.js'; import '../../app/views/DiscussionsView/Item.stories.js'; import './Avatar'; import './NewMarkdown'; import '../../app/containers/BackgroundContainer/index.stories.js'; import '../../app/containers/RoomHeader/RoomHeader.stories.js'; import '../../app/views/RoomView/LoadMore/LoadMore.stories'; import '../../app/views/CannedResponsesListView/CannedResponseItem.stories'; import '../../app/containers/TextInput/TextInput.stories'; import '../../app/containers/message/Components/CollapsibleQuote/CollapsibleQuote.stories'; import '../../app/containers/Button/Button.stories'; // Change here to see themed storybook export const theme = 'light'; const reducers = combineReducers({ settings: () => ({}), login: () => ({ user: { username: 'diego.mello' } }), server: () => ({ server: 'https://open.rocket.chat', version: '3.7.0' }), share: () => ({ server: 'https://open.rocket.chat', version: '3.7.0', settings: {} }), meteor: () => ({ connected: true }), activeUsers: () => ({ abc: { status: 'online', statusText: 'dog' } }), app: () => ({ isMasterDetail: false }) }); export const store = createStore(reducers);