import React from 'react'; import { storiesOf } from '@storybook/react-native'; import { withKnobs } from '@storybook/addon-knobs'; import Wrapper from './../../Wrapper'; import Usage from './Basic'; import Playground from './Playground'; import Multiple from './Multiple'; import AccessingInternalState from './AccessingInternalState'; import ExpandedStyle from './ExpandedStyle'; import Toggle from './Toggle'; import DefaultIndex from './DefaultIndex'; storiesOf('Accordion', module) .addDecorator(withKnobs) .addDecorator((getStory: any) => {getStory()}) .add('Playground', () => ) .add('Usage', () => ) .add('Multiple', () => ) .add('Default Index', () => ) .add('Toggle', () => ) .add('Expanded Style', () => ) .add('Accessing Internal State', () => );