2017-08-17 19:31:27 +00:00
|
|
|
/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */
|
|
|
|
|
|
|
|
// import React from 'react';
|
|
|
|
|
|
|
|
import { storiesOf } from '@storybook/react-native';
|
|
|
|
// import { action } from '@storybook/addon-actions';
|
|
|
|
// import { linkTo } from '@storybook/addon-links';
|
|
|
|
|
|
|
|
import DirectMessage from './Channels/DirectMessage';
|
2017-09-01 19:42:50 +00:00
|
|
|
import Avatar from './Avatar';
|
2017-08-17 19:31:27 +00:00
|
|
|
|
2017-09-01 19:42:50 +00:00
|
|
|
storiesOf('Avatar', module).add('avatar', () => Avatar);
|
2017-08-17 19:31:27 +00:00
|
|
|
storiesOf('Channel Cell', module).add('Direct Messages', () => DirectMessage);
|
|
|
|
|
|
|
|
// storiesOf('Welcome', module).add('to Storybook', () => <Welcome showApp={linkTo('Button')} />);
|
|
|
|
|
|
|
|
// storiesOf('Button', module)
|
|
|
|
// .addDecorator(getStory => (
|
|
|
|
// <CenterView>
|
|
|
|
// {getStory()}
|
|
|
|
// </CenterView>
|
|
|
|
// ))
|
|
|
|
// .add('with text', () => (
|
|
|
|
// <Button onPress={action('clicked-text')}>
|
|
|
|
// <Text>Hello Button</Text>
|
|
|
|
// </Button>
|
|
|
|
// ))
|