18 lines
537 B
JavaScript
18 lines
537 B
JavaScript
import { getStorybookUI } from '@storybook/react-native';
|
|
import './storybook.requires';
|
|
|
|
import RNBootSplash from 'react-native-bootsplash';
|
|
|
|
import { selectServerRequest } from '../app/actions/server';
|
|
import { mockedStore as store } from '../app/reducers/mockedStore';
|
|
import database from '../app/lib/database';
|
|
|
|
RNBootSplash.hide();
|
|
|
|
const baseUrl = 'https://open.rocket.chat';
|
|
store.dispatch(selectServerRequest(baseUrl));
|
|
database.setActiveDB(baseUrl);
|
|
|
|
const StorybookUIRoot = getStorybookUI({});
|
|
export default StorybookUIRoot;
|