import React from 'react' ; import { addDecorator , configure , getStorybookUI , } from '@storybook/react-native' ; import { withCenterView } from './decorators/withCenterView' ; import { withKnobs } from '@storybook/addon-knobs' ; import Container from './Container' ; addDecorator ( withCenterView ) ; addDecorator ( withKnobs ) ; configure ( ( ) => { require ( './stories' ) ; } , module ) ; const Storybook = getStorybookUI ( { asyncStorage : null , onDeviceUI : false , } ) ; export default ( ) => < Container children = { Storybook } />;