/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */ import React from 'react'; import { Provider } from 'react-redux'; import { createStore, combineReducers } from 'redux'; import { storiesOf } from '@storybook/react-native'; // import { action } from '@storybook/addon-actions'; // import { linkTo } from '@storybook/addon-links'; import DirectMessage from './Channels/DirectMessage'; import Avatar from './Avatar'; const reducers = combineReducers({ settings: () => ({}) }); const store = createStore(reducers); storiesOf('Avatar', module).addDecorator(story => {story()}).add('avatar', () => Avatar); storiesOf('Channel Cell', module).addDecorator(story => {story()}).add('Direct Messages', () => DirectMessage); // storiesOf('Welcome', module).add('to Storybook', () => ); // storiesOf('Button', module) // .addDecorator(getStory => ( // // {getStory()} // // )) // .add('with text', () => ( // // ))