{"ast":null,"code":"var _this = this,\n    _jsxFileName = \"/Users/rohitsingh/Documents/projects/new-nativebase-setup/NativeBase/example/storybook/stories/theme/Mode/index.tsx\";\n\nimport React from 'react';\nimport { storiesOf } from '@storybook/react-native';\nimport { withKnobs } from '@storybook/addon-knobs';\nimport View from \"react-native-web/dist/exports/View\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport { Example as Basic } from \"./Basic\";\nimport { Example as DefaultMode } from \"./DefaultMode\";\nimport { Example as Persistence } from \"./Persistence\";\nstoriesOf('Mode', module).addDecorator(withKnobs).addDecorator(function (getStory) {\n  return React.createElement(View, {\n    style: styles.wrapper\n  }, getStory());\n}).add('Basic', function () {\n  return React.createElement(Basic, null);\n}).add('DefaultMode', function () {\n  return React.createElement(DefaultMode, null);\n}).add('Persistence', function () {\n  return React.createElement(Persistence, null);\n});\nvar styles = StyleSheet.create({\n  wrapper: {\n    position: 'absolute',\n    top: 0,\n    bottom: 0,\n    left: 0,\n    right: 0\n  }\n});","map":{"version":3,"sources":["/Users/rohitsingh/Documents/projects/new-nativebase-setup/NativeBase/example/storybook/stories/theme/Mode/index.tsx"],"names":["React","storiesOf","withKnobs","Example","Basic","DefaultMode","Persistence","module","addDecorator","getStory","styles","wrapper","add","StyleSheet","create","position","top","bottom","left","right"],"mappings":";;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,SAAT,QAA0B,yBAA1B;AACA,SAASC,SAAT,QAA0B,wBAA1B;;;AAEA,SAASC,OAAO,IAAIC,KAApB;AACA,SAASD,OAAO,IAAIE,WAApB;AACA,SAASF,OAAO,IAAIG,WAApB;AAEAL,SAAS,CAAC,MAAD,EAASM,MAAT,CAAT,CACGC,YADH,CACgBN,SADhB,EAEGM,YAFH,CAEgB,UAACC,QAAD;AAAA,SACZ,oBAAC,IAAD;AAAM,IAAA,KAAK,EAAEC,MAAM,CAACC;AAApB,KAA8BF,QAAQ,EAAtC,CADY;AAAA,CAFhB,EAKGG,GALH,CAKO,OALP,EAKgB;AAAA,SAAM,oBAAC,KAAD,OAAN;AAAA,CALhB,EAMGA,GANH,CAMO,aANP,EAMsB;AAAA,SAAM,oBAAC,WAAD,OAAN;AAAA,CANtB,EAOGA,GAPH,CAOO,aAPP,EAOsB;AAAA,SAAM,oBAAC,WAAD,OAAN;AAAA,CAPtB;AASA,IAAMF,MAAM,GAAGG,UAAU,CAACC,MAAX,CAAkB;AAC/BH,EAAAA,OAAO,EAAE;AAAEI,IAAAA,QAAQ,EAAE,UAAZ;AAAwBC,IAAAA,GAAG,EAAE,CAA7B;AAAgCC,IAAAA,MAAM,EAAE,CAAxC;AAA2CC,IAAAA,IAAI,EAAE,CAAjD;AAAoDC,IAAAA,KAAK,EAAE;AAA3D;AADsB,CAAlB,CAAf","sourcesContent":["import React from 'react';\nimport { storiesOf } from '@storybook/react-native';\nimport { withKnobs } from '@storybook/addon-knobs';\nimport { View, StyleSheet } from 'react-native';\nimport { Example as Basic } from './Basic';\nimport { Example as DefaultMode } from './DefaultMode';\nimport { Example as Persistence } from './Persistence';\n\nstoriesOf('Mode', module)\n  .addDecorator(withKnobs)\n  .addDecorator((getStory: any) => (\n    <View style={styles.wrapper}>{getStory()}</View>\n  ))\n  .add('Basic', () => <Basic />)\n  .add('DefaultMode', () => <DefaultMode />)\n  .add('Persistence', () => <Persistence />);\n\nconst styles = StyleSheet.create({\n  wrapper: { position: 'absolute', top: 0, bottom: 0, left: 0, right: 0 },\n});\n"]},"metadata":{},"sourceType":"module"}