import React from 'react'; import { storiesOf } from '@storybook/react-native'; import { withKnobs } from '@storybook/addon-knobs'; import Wrapper from './../../Wrapper'; import { Example as UnorderedList } from './UnorderedList'; import { Example as StylingList } from './StylingList'; import { Example as OrderedList } from './OrderedList'; import { Example as Basic } from './Basic'; import { Example as ListWithIcon } from './ListWithIcon'; import { Example as PressableList } from './PressableList'; import { Example as VirtualizedList } from './VirtualizedList'; storiesOf('List', module) .addDecorator(withKnobs) .addDecorator((getStory: any) => {getStory()}) .add('Basic', () => ) .add('OrderedList', () => ) .add('UnorderedList', () => ) .add('StylingList', () => ) .add('Pressable List Items', () => ) .add('List with Icon', () => ) .add('VirtualizedList ', () => );