{"ast":null,"code":"import React from 'react';\nimport { Switch, VStack, Heading } from \"/Users/rohitsingh/Documents/projects/new-nativebase-setup/NativeBase/src/index\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport var Example = function Example() {\n  return _jsxs(VStack, {\n    space: 4,\n    alignItems: \"center\",\n    children: [_jsx(Heading, {\n      textAlign: \"center\",\n      mb: \"10\",\n      children: \"Track & Thumb color\"\n    }), _jsx(Switch, {}), _jsx(Switch, {\n      offTrackColor: \"orange.100\",\n      onTrackColor: \"orange.200\",\n      onThumbColor: \"orange.500\",\n      offThumbColor: \"orange.50\"\n    }), _jsx(Switch, {\n      offTrackColor: \"indigo.100\",\n      onTrackColor: \"indigo.200\",\n      onThumbColor: \"indigo.500\",\n      offThumbColor: \"indigo.50\"\n    })]\n  });\n};","map":{"version":3,"sources":["/Users/rohitsingh/Documents/projects/new-nativebase-setup/NativeBase/example/storybook/stories/components/primitives/Switch/SwitchBgColor.tsx"],"names":["React","Switch","VStack","Heading","Example"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,MAAT,EAAiBC,MAAjB,EAAyBC,OAAzB;;;AAEA,OAAO,IAAMC,OAAO,GAAG,SAAVA,OAAU,GAAM;AAC3B,SACE,MAAC,MAAD;AAAQ,IAAA,KAAK,EAAE,CAAf;AAAkB,IAAA,UAAU,EAAC,QAA7B;AAAA,eACE,KAAC,OAAD;AAAS,MAAA,SAAS,EAAC,QAAnB;AAA4B,MAAA,EAAE,EAAC,IAA/B;AAAA;AAAA,MADF,EAIE,KAAC,MAAD,KAJF,EAKE,KAAC,MAAD;AACE,MAAA,aAAa,EAAC,YADhB;AAEE,MAAA,YAAY,EAAC,YAFf;AAGE,MAAA,YAAY,EAAC,YAHf;AAIE,MAAA,aAAa,EAAC;AAJhB,MALF,EAWE,KAAC,MAAD;AACE,MAAA,aAAa,EAAC,YADhB;AAEE,MAAA,YAAY,EAAC,YAFf;AAGE,MAAA,YAAY,EAAC,YAHf;AAIE,MAAA,aAAa,EAAC;AAJhB,MAXF;AAAA,IADF;AAoBD,CArBM","sourcesContent":["import React from 'react';\nimport { Switch, VStack, Heading } from 'native-base';\n\nexport const Example = () => {\n  return (\n    <VStack space={4} alignItems=\"center\">\n      <Heading textAlign=\"center\" mb=\"10\">\n        Track & Thumb color\n      </Heading>\n      <Switch />\n      <Switch\n        offTrackColor=\"orange.100\"\n        onTrackColor=\"orange.200\"\n        onThumbColor=\"orange.500\"\n        offThumbColor=\"orange.50\"\n      />\n      <Switch\n        offTrackColor=\"indigo.100\"\n        onTrackColor=\"indigo.200\"\n        onThumbColor=\"indigo.500\"\n        offThumbColor=\"indigo.50\"\n      />\n    </VStack>\n  );\n};\n"]},"metadata":{},"sourceType":"module"}