{"_id":"@bacons/expo-router-top-tabs","_rev":"4-87f51dab003efba3abd43426c125e806","name":"@bacons/expo-router-top-tabs","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"@bacons/expo-router-top-tabs","version":"0.0.0","keywords":["expo-router","react-native","react-native-web","typescript"],"author":{"name":"Evan Bacon"},"license":"MIT","_id":"@bacons/expo-router-top-tabs@0.0.0","maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"homepage":"https://github.com/evanbacon/expo-router-top-tabs#readme","bugs":{"url":"https://github.com/evanbacon/expo-router-top-tabs/issues"},"dist":{"shasum":"7008c570a225cf47265cdc3af9a8e62178f4cf4e","tarball":"https://registry.npmjs.org/@bacons/expo-router-top-tabs/-/expo-router-top-tabs-0.0.0.tgz","fileCount":11,"integrity":"sha512-TIFKHVvYhzYtQwpz1rGEEVjlM/oMUVQJEmyf4w46oXItPR7ufRoiiuQx2jAJ9ECNf2KJbgLFIiueRMiESRHj8g==","signatures":[{"sig":"MEUCIDKywLlREqhioDvHa7cwqmQwlWH3f3/lNwhNb2lX6mFWAiEAiNZ6/hTVF65f3G5jZiOG//1Fv2091U8jdEGV8QY/zRI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19480,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVGCnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGTw/8CDJ2IfzM/lCzHhY5EEHDq0A2WPlOLlYGczrV6/urgYtNwdkp\r\nY0ZcyMtYZSjD85qgghLJamlNVBBN5ti6mSeX2VCXOU5//f1+MepAkD3V6cOM\r\niB/9hAMUR4TrMiWWoXczDJe9LjXlFrTzcz8sviOYIai4YJxsGqQJHOgaobTw\r\nGzpRArLVfbtQESDVygYFuUmTxa/QShULO9gKhhulsnGg/jvOgIZG1BaUnVaK\r\nUwU62S24JyP+DEksozkuubScAQtSmaEv6mLmjNKRZege3FpoVpP0qIUsfDeT\r\n4Ay9Wu3lseqbfOQo21Q7YWBOcVq4WQty+stxK0T5kqZ8TdPKN/eUlk7bwhNH\r\ntHcoUcmRGvp7wfb4rp6a4Buo0NRJf8vWVDm8uqeFC5dBInQPhZVa6G2OYFjb\r\nVB4t/mzNl0uiIK5gRIOpWRbVaE52YIm2rp2z7JuaIyk4FniGGEOna/bx+mTd\r\nXxPhaLYuXjoesBH51SkOSm5te3xqm1W+LFETCq7APRE/gXZwXvzIjiqo0WvK\r\nsDq6TJPHXNLcm+GljMxk21uVE2aZQ5pdBw9EB7gYOwr7z9dC2njD5FOvcWNx\r\ncz9gcys9u+IMLYT9bELuJyR2E8rK/TWKcslonpWWT53ZYo+9c1Evta/XAHl/\r\ngNeHl9nxJTldYMgNGn6UEiWyTvFziX2uM7c=\r\n=XcCP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"./build/index.d.ts","scripts":{"lint":"expo-module lint","test":"expo-module test","build":"expo-module build","clean":"expo-module clean","prepare":"expo-module prepare","expo-module":"expo-module","prepublishOnly":"expo-module prepublishOnly"},"_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"repository":{"url":"git+https://github.com/evanbacon/expo-router-top-tabs.git","type":"git"},"_npmVersion":"8.5.0","description":"Top tabs with optional header in Expo Router","directories":{},"_nodeVersion":"16.14.2","dependencies":{"react-native-tab-view":"^3.3.0","react-native-pager-view":"6.0.1","react-native-collapsible-tab-view":"2.0.2","@react-navigation/material-top-tabs":"6.3.0"},"_hasShrinkwrap":false,"devDependencies":{"expo-router":"~0.0.33","react-native":"0.68.2","expo-module-scripts":"^2.0.0"},"peerDependencies":{"expo-router":"~0.0.33","react-native":"*","react-native-reanimated":"~2.9.1"},"_npmOperationalInternal":{"tmp":"tmp/expo-router-top-tabs_0.0.0_1666474151523_0.2630365652210491","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"@bacons/expo-router-top-tabs","version":"0.0.1","keywords":["expo-router","react-native","react-native-web","typescript"],"author":{"name":"Evan Bacon"},"license":"MIT","_id":"@bacons/expo-router-top-tabs@0.0.1","maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"homepage":"https://github.com/evanbacon/expo-router-top-tabs#readme","bugs":{"url":"https://github.com/evanbacon/expo-router-top-tabs/issues"},"dist":{"shasum":"d13e18cf879051a824e35fc2975a75c9619b3f29","tarball":"https://registry.npmjs.org/@bacons/expo-router-top-tabs/-/expo-router-top-tabs-0.0.1.tgz","fileCount":11,"integrity":"sha512-VO4ebgdYFS3iVFFDQoeTUqr+nxAyWlUeROpAyN4UqYDrmetqXXS3PhzA89xtOMO8c2ZSAxNGpI2kEQdIfcr91w==","signatures":[{"sig":"MEUCIQDbYYxYs8DlI+BtTsP8MmjBXsg+BOjrG2/kZkasANv33gIgerKMEhrczIU3b90Yb1FMbcynnpPGPVW426Ygz1WNHgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVbEXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEJA/9HwQxLCg+X8J1VZ6XzQk/MdA63FWrxnFpnOGt8pcTs1ZoyA1S\r\n8SSdr4c3TeW4eq1s5zUiQ2XEMC1+ETxrTwdRpTKow4EqytYx984Dhy6K0e4E\r\n/6UEtK/EQlC7CMgEgRA3faLgSBFOAv4UBfNm8849tFm4v+KThZ3HsL+r/XGD\r\n6EWdL2ub1EFFMPkXKXqEWOWrfwcD8TDxO2OWCf0CGZ/0T5skCwpnS7fAx+t/\r\nRbKjbXQgaaUPrKyKr5c1a8HsCLCw13CdMYyMfDqXR1j8duevJqi70F2byN4B\r\naA5nWm+uj8cjJBJGw71iMNHitbce6od2AHxbcN9EbhSZuVXMO/9V9q+r54ip\r\nQd4EHby1PN40BpSbfU7PIIJJVMhIm4SA4shoF4muy8iEYjCS5bLOaR9k0IhK\r\nGeMfgpd5R6Aad+Bi+EPWD1/DmQkjfT9k3W50wQIKBPSgqxuRd8s2HWWhDyK8\r\nM755lMCxx4L+O9jJtMIxNDwDb4FAuqj8Y7L5dpjXLaIXTLizUgihmo4aYJRT\r\ncLSmqkcSRm10RYhwoXLCl+TocTPmqNE1+njOFv1mYuksg1lQO2SS2lHoYUFx\r\ns+4LXrsPr0VlQNEP6YbBnFdetVLQXpAHqwU/1K3NR9VyXYbAiXCUdS/uK7qi\r\npTjXGte2PnFaFkae6pjkTzdxMVLSeg+izVA=\r\n=tV3G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"./build/index.d.ts","scripts":{"lint":"expo-module lint","test":"expo-module test","build":"expo-module build","clean":"expo-module clean","prepare":"expo-module prepare","expo-module":"expo-module","prepublishOnly":"expo-module prepublishOnly"},"_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"repository":{"url":"git+https://github.com/evanbacon/expo-router-top-tabs.git","type":"git"},"_npmVersion":"8.5.0","description":"Top tabs with optional header in Expo Router","directories":{},"_nodeVersion":"16.14.2","dependencies":{"react-native-tab-view":"^3.3.0","react-native-pager-view":"6.0.1","react-native-collapsible-tab-view":"2.0.2","@react-navigation/material-top-tabs":"6.3.0"},"_hasShrinkwrap":false,"devDependencies":{"expo-router":"~0.0.33","react-native":"0.68.2","expo-module-scripts":"^2.0.0"},"peerDependencies":{"expo-router":"~0.0.33","react-native":"*","react-native-reanimated":"~2.9.1"},"_npmOperationalInternal":{"tmp":"tmp/expo-router-top-tabs_0.0.1_1666560278897_0.9401933557012023","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@bacons/expo-router-top-tabs","version":"0.0.2","keywords":["expo-router","react-native","react-native-web","typescript"],"author":{"name":"Evan Bacon"},"license":"MIT","_id":"@bacons/expo-router-top-tabs@0.0.2","maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"homepage":"https://github.com/evanbacon/expo-router-top-tabs#readme","bugs":{"url":"https://github.com/evanbacon/expo-router-top-tabs/issues"},"dist":{"shasum":"bd15f2429235e6470cc12f3cb003707617f8be36","tarball":"https://registry.npmjs.org/@bacons/expo-router-top-tabs/-/expo-router-top-tabs-0.0.2.tgz","fileCount":11,"integrity":"sha512-59M8l8lxUAE+Y2G1+ss0kXkg68b8AD+KUPWFBGk5ju6zz+40hcItbibiG4eF0kpes9mXfGcWoCIrLxTHeAjmpg==","signatures":[{"sig":"MEUCIQCymQBMrk6v/MQz8gdDkO7mLEknepRib3xBWpm8TNPVjAIgKG5xd1iv/sZcIvwdpxCqCq4zO+DnhYfqPNf7XgRg6Ew=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwCUyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/dRAAg4fDUASccEjG/xNQyA2xT8W4d3AM5f1tqI9rXz+XfVUOc0k8\r\nDsg0kFP3c6C9zZoC4Knwx8sJwvytEu9rWUR3Vc+b8Vu8Nl9lIevrc+V0bl1f\r\nM8KHr0OWeUVkhvyobbYQ96AYRPG5/ZMdnYQjPBncs/DZhMR2xQULMjGSiQLg\r\nOyggMzb/fzjOkblidini+UbJq1aA4zr4lm+MCW6zag1eA9ap6kt82TeuLxdJ\r\nDMuvBDwDtf6Wqf2r5k7t0Rx2IZpTgq9MgijVNYnJgNCkEbM4NLsTlWIVcSAi\r\nS5zIs8gbf/SoRhcEhe7pyi2DQYwPoh+vx4bMon1WbBafs3LunbM3v72ZZfjt\r\nOMIRfpsRK7B8mdwMBzf3M1iERuwd7PpkMQm9hIWAMue5yH/q0DjzcrryfW6i\r\npoCvgI6WUh3+l6Q+AkN+37TYjc0kVj5R5pPJ6C41MAmT9WqPopeSHfc6lPL6\r\nwT7L85GhAmEl0gIQsA5zOFYLBYWi4sKUt2Tq155ncfBsfJRLFg9/29QoQxln\r\nWKsuGnY2hHjzOOOcwGdPeV0p4Kq1jwIGHH+e5NLppNqcGYHUX7czTHXBfIbx\r\nfKxdI6CcYR0grdxJb38hAN4nwCivsbgvqA8WsoBSwQRr7gHmrjbyAF14kY9K\r\nN+650UZEFLa7k/BqiHvIuWjR0ZCkoFi2mgM=\r\n=+fNf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"93413560fe896db09a444571718458e2562a72e6","scripts":{"lint":"expo-module lint","test":"expo-module test","build":"expo-module build","clean":"expo-module clean","prepare":"expo-module prepare","expo-module":"expo-module","prepublishOnly":"expo-module prepublishOnly"},"_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"repository":{"url":"git+https://github.com/evanbacon/expo-router-top-tabs.git","type":"git"},"_npmVersion":"8.5.0","description":"Top tabs with optional header in Expo Router","directories":{},"_nodeVersion":"16.14.2","dependencies":{"react-native-tab-view":"^3.3.0","react-native-pager-view":"6.0.1","react-native-collapsible-tab-view":"2.0.2","@react-navigation/material-top-tabs":"6.3.0"},"_hasShrinkwrap":false,"devDependencies":{"expo-router":"~0.0.33","react-native":"0.68.2","expo-module-scripts":"^2.0.0"},"peerDependencies":{"expo-router":"~0.0.33","react-native":"*","react-native-reanimated":"~2.9.1"},"_npmOperationalInternal":{"tmp":"tmp/expo-router-top-tabs_0.0.2_1673536818290_0.7371595752190132","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@bacons/expo-router-top-tabs","version":"0.1.0","keywords":["expo-router","react-native","react-native-web","typescript"],"author":{"name":"Evan Bacon"},"license":"MIT","_id":"@bacons/expo-router-top-tabs@0.1.0","maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"homepage":"https://github.com/evanbacon/expo-router-top-tabs#readme","bugs":{"url":"https://github.com/evanbacon/expo-router-top-tabs/issues"},"dist":{"shasum":"bc1cc0b5b72db098c62bb2b0b890aae54e25de97","tarball":"https://registry.npmjs.org/@bacons/expo-router-top-tabs/-/expo-router-top-tabs-0.1.0.tgz","fileCount":11,"integrity":"sha512-ZuxVUxbmNgUkoy9K6JPovFfFP5jc/c0O8SWpsfhEIU5vOL4rI7HVeOcksg1fZqh9T3Kf1jova3JM1HBvxxPv9w==","signatures":[{"sig":"MEQCIEPvqB6wHNI/v1DMLSOVc1zoKIO/nC6Zx/nLh172uRekAiAJM+4zzk1qOoLYmx7IQlcMvAhUydtCRlJ3E5GmjWYzew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTWjGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGSw//XfJgc7N9WffbMz9QV8qHAQOsQ2IK74lr5Dx2evprt3W6Vm3g\r\npproSS7CGx2FrstN5WzcOhBqdnUGDQvHc/TBgP12koYasVQFIYZYwz4pAu4G\r\nnxqjcP4iUz9djTz4H5IL/WgNaCF89yTIP//gwZ1M0szusnRuek+VgKFe2Yfp\r\nLP5uphXo1Wz/DtRLoRiYitr/ZSDKstlUXG0mhJyn0g4wEofmzL4SRr3M8GF8\r\njce5XzJYRfzQw6WmUGd8u4MODLMnDLWfInsZiybP1oUzDiSNa5benjAAMNUn\r\nXs+tjXEhgHxTovwTvm912T+RtbIAjwz6lzIW/pGGPdc5keUiGSxko6per0Bn\r\nRPIKbe75rYRNV/t3lq1sUO4a99e4twAHmxcFO4JK7Zb4XaeYaKszq2d2VHmF\r\nHTHR8909fy65+Xz1XbfBvY0a+TtYht3f0rjekthgFxpJ4/TZ/aipUIp9H725\r\nOK5CQSlJYF9e+dLuNGxZXMibmbszkc1GZTmztBC10yxLonroC5sseimyIjwz\r\n+iyTCrP9fGlMOiSKKWzxuDQQk1Jlt3JW4AYRKe8OJeavkv+tbEYgC5H6n+0A\r\nmEGoouoCa1iYQy03n6G+e0S8axOy8xayGJSWINYB9LY/xml2HHlamfHE0ALF\r\nPZm+mX0x7x+cESmVDZS4OthHQ0tkDrLXabE=\r\n=2G6O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"364f35c74b267546ee8327192eaf878d45385b8e","scripts":{"lint":"expo-module lint","test":"expo-module test","build":"expo-module build","clean":"expo-module clean","prepare":"expo-module prepare","expo-module":"expo-module","prepublishOnly":"expo-module prepublishOnly"},"_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"repository":{"url":"git+https://github.com/evanbacon/expo-router-top-tabs.git","type":"git"},"_npmVersion":"9.3.1","description":"Top tabs with optional header in Expo Router","directories":{},"_nodeVersion":"18.14.1","dependencies":{"react-native-tab-view":"^3.3.0","react-native-pager-view":"6.0.1","react-native-collapsible-tab-view":"2.0.2","@react-navigation/material-top-tabs":"6.3.0"},"_hasShrinkwrap":false,"devDependencies":{"expo-router":"^1.5.3","react-native":"0.68.2","expo-module-scripts":"^2.0.0"},"peerDependencies":{"expo-router":"~0.0.33","react-native":"*","react-native-reanimated":"~2.9.1"},"_npmOperationalInternal":{"tmp":"tmp/expo-router-top-tabs_0.1.0_1682794694460_0.4924322102630685","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@bacons/expo-router-top-tabs","version":"1.0.0","description":"Top tabs with optional header in Expo Router","main":"build/index.js","scripts":{"build":"expo-module build","clean":"expo-module clean","lint":"expo-module lint","test":"expo-module test","prepare":"expo-module prepare","prepublishOnly":"expo-module prepublishOnly","expo-module":"expo-module"},"repository":{"type":"git","url":"git+https://github.com/evanbacon/expo-router-top-tabs.git"},"peerDependencies":{"react-native":"*","react-native-reanimated":"^3.14.0","expo-router":"^3.5.18"},"keywords":["expo-router","react-native","react-native-web","typescript"],"author":{"name":"Evan Bacon"},"license":"MIT","dependencies":{"react-native-collapsible-tab-view":"2.0.2","@react-navigation/material-top-tabs":"6.3.0","react-native-pager-view":"6.0.1","react-native-tab-view":"^3.3.0"},"devDependencies":{"expo-router":"^3.5.18","expo-module-scripts":"^3.5.2","react-native":"^0.74.3"},"_id":"@bacons/expo-router-top-tabs@1.0.0","gitHead":"559ed9ba92137fe138d0775ed70b1a48e8e5008c","types":"./build/index.d.ts","bugs":{"url":"https://github.com/evanbacon/expo-router-top-tabs/issues"},"homepage":"https://github.com/evanbacon/expo-router-top-tabs#readme","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-F43nwPRzmQFNRCGgiPB2cXd3DgTcv09z9mLYidcxlPajp+s6T1pHG8peP6UgMNRtZpqOwX+/5SZ++mv80LsTjw==","shasum":"3318752adf4b1c8d0749b4284caafc6ffba59ae7","tarball":"https://registry.npmjs.org/@bacons/expo-router-top-tabs/-/expo-router-top-tabs-1.0.0.tgz","fileCount":11,"unpackedSize":18823,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHF2rJhUOYWlxxyHMDJwi8UX2Rhw0RNVXQJd5Sk3RGerAiAyG42S77awA0ikpgBvmTYpWEuyDJ9FLFEzwHym6aVbzQ=="}]},"_npmUser":{"name":"evanbacon","email":"baconbrix@gmail.com"},"directories":{},"maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expo-router-top-tabs_1.0.0_1721966781271_0.3979647641553088"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-22T21:29:11.474Z","modified":"2024-07-26T04:06:21.614Z","0.0.0":"2022-10-22T21:29:11.774Z","0.0.1":"2022-10-23T21:24:39.084Z","0.0.2":"2023-01-12T15:20:18.541Z","0.1.0":"2023-04-29T18:58:14.638Z","1.0.0":"2024-07-26T04:06:21.439Z"},"bugs":{"url":"https://github.com/evanbacon/expo-router-top-tabs/issues"},"author":{"name":"Evan Bacon"},"license":"MIT","homepage":"https://github.com/evanbacon/expo-router-top-tabs#readme","keywords":["expo-router","react-native","react-native-web","typescript"],"repository":{"type":"git","url":"git+https://github.com/evanbacon/expo-router-top-tabs.git"},"description":"Top tabs with optional header in Expo Router","maintainers":[{"name":"evanbacon","email":"baconbrix@gmail.com"}],"readme":"# @bacons/expo-router-top-tabs\n\nWraps `react-native-collapsible-tab-view` and adds support for [Expo Router](https://expo.github.io/router/docs).\n\n## Add the package to your npm dependencies\n\n```\nyarn add @bacons/expo-router-top-tabs react-native-reanimated\n```\n\n- Setup Reanimated in the `babel.config.js`. See [here](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation#babel-plugin) for more info.\n\n## Usage\n\nExample in Layout Route:\n\n```js\n// app/(tabs)/_layout.tsx\n\nimport { Text, View } from \"react-native\";\nimport { TopTabs } from \"@bacons/expo-router-top-tabs\";\n\nexport default function CustomLayout() {\n  return (\n    <TopTabs screenOptions={{}}>\n      <TopTabs.Header>\n        <View pointerEvents=\"none\" style={{}}>\n          <Text>Header</Text>\n        </View>\n      </TopTabs.Header>\n\n      <TopTabs.Screen name=\"index\" />\n    </TopTabs>\n  );\n}\n```\n\nUsage in child routes:\n\n```js\n// app/(tabs)/index.tsx\n\nimport { Animated } from \"react-native\";\nimport { useScrollProps } from \"@bacons/expo-router-top-tabs\";\n\nexport default function Screen() {\n  const props = useScrollProps();\n\n  return <Animated.ScrollView {...props}></Animated.ScrollView>;\n}\n```\n","readmeFilename":"README.md"}