{"ast":null,"code":"import AppRegistry from \"react-native-web/dist/exports/AppRegistry\";\nimport { getStorybookUI, configure, addDecorator } from '@storybook/react-native';\nimport { withKnobs } from '@storybook/addon-knobs';\nimport \"./rn-addons\";\nimport AsyncStorage from '@react-native-async-storage/async-storage';\naddDecorator(withKnobs);\nconfigure(function () {\n  require(\"./stories\");\n}, module);\nvar StorybookUIRoot = getStorybookUI({\n  asyncStorage: AsyncStorage\n});\nAppRegistry.registerComponent('%APP_NAME%', function () {\n  return StorybookUIRoot;\n});\nexport default StorybookUIRoot;","map":{"version":3,"sources":["/Users/rohitsingh/Documents/projects/new-nativebase-setup/NativeBase/example/storybook/index.ts"],"names":["getStorybookUI","configure","addDecorator","withKnobs","AsyncStorage","require","module","StorybookUIRoot","asyncStorage","AppRegistry","registerComponent"],"mappings":";AAGA,SACEA,cADF,EAEEC,SAFF,EAGEC,YAHF,QAIO,yBAJP;AAKA,SAASC,SAAT,QAA0B,wBAA1B;AAEA;AACA,OAAOC,YAAP,MAAyB,2CAAzB;AAGAF,YAAY,CAACC,SAAD,CAAZ;AAGAF,SAAS,CAAC,YAAM;AACdI,EAAAA,OAAO,aAAP;AACD,CAFQ,EAENC,MAFM,CAAT;AAMA,IAAMC,eAAe,GAAGP,cAAc,CAAC;AAGrCQ,EAAAA,YAAY,EAAEJ;AAHuB,CAAD,CAAtC;AAQAK,WAAW,CAACC,iBAAZ,CAA8B,YAA9B,EAA4C;AAAA,SAAMH,eAAN;AAAA,CAA5C;AAEA,eAAeA,eAAf","sourcesContent":["// if you use expo remove this line\nimport { AppRegistry } from 'react-native';\n\nimport {\n  getStorybookUI,\n  configure,\n  addDecorator,\n} from '@storybook/react-native';\nimport { withKnobs } from '@storybook/addon-knobs';\n\nimport './rn-addons';\nimport AsyncStorage from '@react-native-async-storage/async-storage';\n\n// enables knobs for all stories\naddDecorator(withKnobs);\n\n// import stories\nconfigure(() => {\n  require('./stories');\n}, module);\n\n// Refer to https://github.com/storybookjs/storybook/tree/master/app/react-native#start-command-parameters\n// To find allowed options for getStorybookUI\nconst StorybookUIRoot = getStorybookUI({\n  // DOC: Uncomment this to get normal app view\n  // onDeviceUI: false,\n  asyncStorage: AsyncStorage,\n});\n\n// If you are using React Native vanilla and after installation you don't see your app name here, write it manually.\n// If you use Expo you should remove this line.\nAppRegistry.registerComponent('%APP_NAME%', () => StorybookUIRoot);\n\nexport default StorybookUIRoot;\n"]},"metadata":{},"sourceType":"module"}