{"ast":null,"code":"import React from 'react';\nimport { storiesOf } from '@storybook/react-native';\nimport { withKnobs } from '@storybook/addon-knobs';\nimport { Example as WithRef } from \"./WithRef\";\nimport { Example as Sizes } from \"./sizes\";\nimport { Example as Basic } from \"./basic\";\nimport { Example as Variants } from \"./variants\";\nimport { Example as Loading } from \"./loading\";\nimport { Example as Icons } from \"./icons\";\nimport { Example as Composition } from \"./Composition\";\nimport Wrapper from \"./../../Wrapper\";\nstoriesOf('Button', 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('Variants', function () {\n  return React.createElement(Variants, null);\n}).add('Sizes', function () {\n  return React.createElement(Sizes, null);\n}).add('Loading', function () {\n  return React.createElement(Loading, null);\n}).add('Icons', function () {\n  return React.createElement(Icons, null);\n}).add('Composition', function () {\n  return React.createElement(Composition, null);\n}).add('WithRef', function () {\n  return React.createElement(WithRef, null);\n});","map":{"version":3,"sources":["/Users/rohitsingh/Documents/projects/new-nativebase-setup/NativeBase/example/storybook/stories/components/primitives/Button/index.tsx"],"names":["React","storiesOf","withKnobs","Example","WithRef","Sizes","Basic","Variants","Loading","Icons","Composition","Wrapper","module","addDecorator","getStory","add"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,SAAT,QAA0B,yBAA1B;AACA,SAASC,SAAT,QAA0B,wBAA1B;AACA,SAASC,OAAO,IAAIC,OAApB;AACA,SAASD,OAAO,IAAIE,KAApB;AACA,SAASF,OAAO,IAAIG,KAApB;AACA,SAASH,OAAO,IAAII,QAApB;AACA,SAASJ,OAAO,IAAIK,OAApB;AACA,SAASL,OAAO,IAAIM,KAApB;AACA,SAASN,OAAO,IAAIO,WAApB;AACA,OAAOC,OAAP;AAEAV,SAAS,CAAC,QAAD,EAAWW,MAAX,CAAT,CACGC,YADH,CACgBX,SADhB,EAEGW,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,UAJP,EAImB;AAAA,SAAM,oBAAC,QAAD,OAAN;AAAA,CAJnB,EAKGA,GALH,CAKO,OALP,EAKgB;AAAA,SAAM,oBAAC,KAAD,OAAN;AAAA,CALhB,EAMGA,GANH,CAMO,SANP,EAMkB;AAAA,SAAM,oBAAC,OAAD,OAAN;AAAA,CANlB,EAOGA,GAPH,CAOO,OAPP,EAOgB;AAAA,SAAM,oBAAC,KAAD,OAAN;AAAA,CAPhB,EAQGA,GARH,CAQO,aARP,EAQsB;AAAA,SAAM,oBAAC,WAAD,OAAN;AAAA,CARtB,EASGA,GATH,CASO,SATP,EASkB;AAAA,SAAM,oBAAC,OAAD,OAAN;AAAA,CATlB","sourcesContent":["import React from 'react';\nimport { storiesOf } from '@storybook/react-native';\nimport { withKnobs } from '@storybook/addon-knobs';\nimport { Example as WithRef } from './WithRef';\nimport { Example as Sizes } from './sizes';\nimport { Example as Basic } from './basic';\nimport { Example as Variants } from './variants';\nimport { Example as Loading } from './loading';\nimport { Example as Icons } from './icons';\nimport { Example as Composition } from './Composition';\nimport Wrapper from './../../Wrapper';\n\nstoriesOf('Button', module)\n  .addDecorator(withKnobs)\n  .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>)\n  .add('Basic', () => <Basic />)\n  .add('Variants', () => <Variants />)\n  .add('Sizes', () => <Sizes />)\n  .add('Loading', () => <Loading />)\n  .add('Icons', () => <Icons />)\n  .add('Composition', () => <Composition />)\n  .add('WithRef', () => <WithRef />);\n"]},"metadata":{},"sourceType":"module"}