import React from 'react'; import { View } from 'react-native'; import { storiesOf } from '@storybook/react-native'; import { withKnobs } from '@storybook/addon-knobs'; import { Example as Flexible } from './Flexible'; import { Example as Fixed } from './Fixed'; import { Example as Hook } from './Hook'; storiesOf('useSafeArea', module) .addDecorator(withKnobs) .addDecorator((getStory: any) => {getStory()}) .add('Flexible', () => ) .add('Fixed', () => ) .add('Hook', () => );