{"ast":null,"code":"import React from 'react';\nimport { storiesOf } from '@storybook/react-native';\nimport { withKnobs } from '@storybook/addon-knobs';\nimport Wrapper from \"../../Wrapper\";\nimport { Example as ToastPositions } from \"./ToastPositions\";\nimport { Example as ToastVariants } from \"./VariantRecipies\";\nimport { Example as Basic } from \"./Basic\";\nimport { Example as CloseToast } from \"./CloseToast\";\nimport { Example as CustomComponent } from \"./CustomComponent\";\nimport { Example as CustomComponentWithCustomId } from \"./CustomComponentWithCustomId\";\nimport { Example as PreventDuplicate } from \"./PreventDuplicate\";\nimport { Example as ToastStatus } from \"./StatusRecipies\";\nimport { Example as StandaloneToast } from \"./StandaloneToast\";\nstoriesOf('Toast', module).addDecorator(withKnobs).addDecorator(function (getStory) {\n  return React.createElement(Wrapper, null, getStory());\n}).add('Basic', function () {\n  return React.createElement(Basic, null);\n}).add('Toast Positions', function () {\n  return React.createElement(ToastPositions, null);\n}).add('Custom Component', function () {\n  return React.createElement(CustomComponent, null);\n}).add('Custom Component with custom Id', function () {\n  return React.createElement(CustomComponentWithCustomId, null);\n}).add('CloseToast', function () {\n  return React.createElement(CloseToast, null);\n}).add('Prevent Duplicate', function () {\n  return React.createElement(PreventDuplicate, null);\n}).add('Status Recipies', function () {\n  return React.createElement(ToastStatus, null);\n}).add('Variants Recipies', function () {\n  return React.createElement(ToastVariants, null);\n}).add('Toast Ref', function () {\n  return React.createElement(StandaloneToast, null);\n});","map":{"version":3,"sources":["/Users/rohitsingh/Documents/projects/new-nativebase-setup/NativeBase/example/storybook/stories/components/composites/Toast/index.tsx"],"names":["React","storiesOf","withKnobs","Wrapper","Example","ToastPositions","ToastVariants","Basic","CloseToast","CustomComponent","CustomComponentWithCustomId","PreventDuplicate","ToastStatus","StandaloneToast","module","addDecorator","getStory","add"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,SAAT,QAA0B,yBAA1B;AACA,SAASC,SAAT,QAA0B,wBAA1B;AACA,OAAOC,OAAP;AACA,SAASC,OAAO,IAAIC,cAApB;AACA,SAASD,OAAO,IAAIE,aAApB;AACA,SAASF,OAAO,IAAIG,KAApB;AACA,SAASH,OAAO,IAAII,UAApB;AACA,SAASJ,OAAO,IAAIK,eAApB;AACA,SAASL,OAAO,IAAIM,2BAApB;AACA,SAASN,OAAO,IAAIO,gBAApB;AACA,SAASP,OAAO,IAAIQ,WAApB;AACA,SAASR,OAAO,IAAIS,eAApB;AAEAZ,SAAS,CAAC,OAAD,EAAUa,MAAV,CAAT,CACGC,YADH,CACgBb,SADhB,EAEGa,YAFH,CAEgB,UAACC,QAAD;AAAA,SAAmB,oBAAC,OAAD,QAAUA,QAAQ,EAAlB,CAAnB;AAAA,CAFhB,EAGGC,GAHH,CAGO,OAHP,EAGgB;AAAA,SAAM,oBAAC,KAAD,OAAN;AAAA,CAHhB,EAIGA,GAJH,CAIO,iBAJP,EAI0B;AAAA,SAAM,oBAAC,cAAD,OAAN;AAAA,CAJ1B,EAKGA,GALH,CAKO,kBALP,EAK2B;AAAA,SAAM,oBAAC,eAAD,OAAN;AAAA,CAL3B,EAMGA,GANH,CAMO,iCANP,EAM0C;AAAA,SAAM,oBAAC,2BAAD,OAAN;AAAA,CAN1C,EAOGA,GAPH,CAOO,YAPP,EAOqB;AAAA,SAAM,oBAAC,UAAD,OAAN;AAAA,CAPrB,EAQGA,GARH,CAQO,mBARP,EAQ4B;AAAA,SAAM,oBAAC,gBAAD,OAAN;AAAA,CAR5B,EASGA,GATH,CASO,iBATP,EAS0B;AAAA,SAAM,oBAAC,WAAD,OAAN;AAAA,CAT1B,EAUGA,GAVH,CAUO,mBAVP,EAU4B;AAAA,SAAM,oBAAC,aAAD,OAAN;AAAA,CAV5B,EAWGA,GAXH,CAWO,WAXP,EAWoB;AAAA,SAAM,oBAAC,eAAD,OAAN;AAAA,CAXpB","sourcesContent":["import React from 'react';\nimport { storiesOf } from '@storybook/react-native';\nimport { withKnobs } from '@storybook/addon-knobs';\nimport Wrapper from '../../Wrapper';\nimport { Example as ToastPositions } from './ToastPositions';\nimport { Example as ToastVariants } from './VariantRecipies';\nimport { Example as Basic } from './Basic';\nimport { Example as CloseToast } from './CloseToast';\nimport { Example as CustomComponent } from './CustomComponent';\nimport { Example as CustomComponentWithCustomId } from './CustomComponentWithCustomId';\nimport { Example as PreventDuplicate } from './PreventDuplicate';\nimport { Example as ToastStatus } from './StatusRecipies';\nimport { Example as StandaloneToast } from './StandaloneToast';\n\nstoriesOf('Toast', module)\n  .addDecorator(withKnobs)\n  .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>)\n  .add('Basic', () => <Basic />)\n  .add('Toast Positions', () => <ToastPositions />)\n  .add('Custom Component', () => <CustomComponent />)\n  .add('Custom Component with custom Id', () => <CustomComponentWithCustomId />)\n  .add('CloseToast', () => <CloseToast />)\n  .add('Prevent Duplicate', () => <PreventDuplicate />)\n  .add('Status Recipies', () => <ToastStatus />)\n  .add('Variants Recipies', () => <ToastVariants />)\n  .add('Toast Ref', () => <StandaloneToast />);\n"]},"metadata":{},"sourceType":"module"}