{"_id":"react-native-swiper","_rev":"92-47bef66f0c283c33c69590a14afd7422","name":"react-native-swiper","dist-tags":{"nightly":"1.6.0-nightly.5","next":"1.6.0-rc.3","latest":"1.6.0"},"versions":{"1.0.0":{"name":"react-native-swiper","version":"1.0.0","author":"","license":"ISC","_id":"react-native-swiper@1.0.0","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"b5b5b879016466d2e7a9d618bd7cc768769af674","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.0.0.tgz","integrity":"sha512-T+VgCHltPH+znRcYnFkzxawDzfzx1rWX0KmTGmAPh8cZNKH7ilu8Lbw2FbIlPI3a+7clIBV+jfBJahBlP+hp+g==","signatures":[{"sig":"MEUCIQDhxCXsv4gzAyErYtcjymzmwoislGpgiTKQaJCuaNdi+gIgONCIBOrNn1ZuBX0wt/+kKXCBMpT4Y3k7aYkMnPqZG4k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"b5b5b879016466d2e7a9d618bd7cc768769af674","gitHead":"c68fc5585825ce33a23c60cb42ce0f4c2ab3aaba","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"2.8.3","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"1.7.1"},"1.0.1":{"name":"react-native-swiper","version":"1.0.1","author":"","license":"ISC","_id":"react-native-swiper@1.0.1","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"bin":{"babel":"./bin/babel"},"dist":{"shasum":"21c617ef6ec7720eb0a64be141a76641e40d87b2","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.0.1.tgz","integrity":"sha512-m8ahmP1kLxyqu3A7WpDhGYPHXMUkMCgztWfPFdR9ehEig06tdCjbPILqcoJOu7SvHx04zRB21+PZImobwLbOOA==","signatures":[{"sig":"MEYCIQChCHublIZW2JIT5Thn39/xqEeo9PUA49My5PJ/wE/qRwIhAJnDQfQSHTayuMCCWJUjfy34fbkdx3HS8Ou4Q38Eia4D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"21c617ef6ec7720eb0a64be141a76641e40d87b2","gitHead":"2ce68f642056627eba8784efc423a220be14d543","scripts":{"start":"babel src --out-dir dist","watch":"babel src --out-dir dist --watch"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"2.8.3","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"1.8.1","devDependencies":{"babel":"^5.1.11"}},"1.0.2":{"name":"react-native-swiper","version":"1.0.2","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.0.2","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"bin":{"babel":"./bin/babel"},"dist":{"shasum":"57c80207455498f759e463eb2b066b08ebf6a363","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.0.2.tgz","integrity":"sha512-5Jg3Ikc+QjMr35Vc7ctYRuQErP/giUCcQVPz7PUb5sFDWEf9ShzHJdF4KahKDhWHkdpCzt1iJLW4/D6xsv+LJw==","signatures":[{"sig":"MEYCIQDBwwou6AR/FpkzKLCzcV4RSDAhqioqxD1COg7tKKpR9gIhAOPeYb2UtVamekbzblXkGEH7Qo5LCI1lBhR21Dvf+n94","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"57c80207455498f759e463eb2b066b08ebf6a363","gitHead":"0f3cf7f3d4608763c2d24d4de5a9d6c2839d4665","scripts":{"start":"babel src --out-dir dist","watch":"babel src --out-dir dist --watch"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"2.8.3","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"1.8.1","devDependencies":{"babel":"^5.1.11"}},"1.0.3":{"name":"react-native-swiper","version":"1.0.3","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.0.3","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"bin":{"babel":"./bin/babel"},"dist":{"shasum":"18bf3c92180d3c3c7f8c3c4a4330f3d4d2e96a44","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.0.3.tgz","integrity":"sha512-TWbbgwFWC3rmhshJMW1pNg+ugYTa8FOQUSIXj6lqXK4kreaBWnjTQIcbJM1jBVV4DtBkP0HqaWAM4ru54PbmnA==","signatures":[{"sig":"MEYCIQDnGwJIkH8jHrmUsC44sR6/zgnkrHi4v+Dr+d8fQPswrgIhAIjhXbs0xzga6aeW63BTEkv15FPB7J8Ot/yvBd5gIbJ1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"18bf3c92180d3c3c7f8c3c4a4330f3d4d2e96a44","gitHead":"0f796f3557b5aeb1772573cd7ecae2e835bccc0b","scripts":{"start":"babel src --out-dir dist","watch":"babel src --out-dir dist --watch"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"2.8.3","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"1.8.1","devDependencies":{"babel":"^5.1.11"}},"1.0.4":{"name":"react-native-swiper","version":"1.0.4","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.0.4","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"62d6e92cc2165a8c6b57785a9680af5864b8c25c","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.0.4.tgz","integrity":"sha512-K76BSJDbZulFLFR5Uby5b0IfDV0uVXWbmm5Z3kTnKCOvJ72Av/c9KVXydYJFwG94GtW2Z1bvxTcxBPPVSyvYfw==","signatures":[{"sig":"MEYCIQC2EFUW0tRjkdQvK1ZOYc7aOM3AyfVBoiCFal1UDh1hLgIhAIubDisw2sbr0rYSsdYLn3x8oMwop6XINzrKZjMJzAdd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"62d6e92cc2165a8c6b57785a9680af5864b8c25c","gitHead":"21cb3732578588f9d47ee7ddda541577ad691970","scripts":{"start":"babel src --out-dir dist","watch":"babel src --out-dir dist --watch"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"2.8.3","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"1.8.1","devDependencies":{"babel":"^5.1.11"}},"1.1.0":{"name":"react-native-swiper","version":"1.1.0","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.1.0","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"7910cbc8e0bc0f0459338926380f2342b9f4c704","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.1.0.tgz","integrity":"sha512-AKeqUt6rLBNvetATpTX1De6cut81JAbeYj0hvdlJoXA7dd+Yit7YzLmal8AOCBl+4sT1MWdpIRw69k4ahmtgAg==","signatures":[{"sig":"MEQCIEAf4U28V24r5795DTi+SgkOhg8JpF7tV/m2F5Sve+CEAiBlW5biKLQGa5071+G1TNplbLgNCrf0S8WqGgYlgPboqA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"7910cbc8e0bc0f0459338926380f2342b9f4c704","gitHead":"b0a974d5d30a5816952b0fde7162583942f888d0","scripts":{"start":"babel src --out-dir dist","watch":"babel src --out-dir dist --watch"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"2.8.4","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"1.8.1","devDependencies":{"babel":"^5.1.11"}},"1.1.1":{"name":"react-native-swiper","version":"1.1.1","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.1.1","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"06969c733ff38811d71f92d3ef4e1c57576b2c84","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.1.1.tgz","integrity":"sha512-m4O8Gpra1bf03lYNoTPCKD3C4WCQKYu6ihPZsiUnJ1DizjvrQ88yghmIhAYH1yD+OjhbSgQEItMh8G4NJkJLhw==","signatures":[{"sig":"MEUCIQC9yoAq3nhNpUP8KMuwZsZsTmieFFeMpxA+G6dpy4OzpQIgcTMp5AGnIR/SNfq8ybSF04+Cg7uk+aGSLzHnIm7wbJY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"06969c733ff38811d71f92d3ef4e1c57576b2c84","gitHead":"3ade1c58ad368479bfbd66537c4213bce035a760","scripts":{"start":"babel src --out-dir dist","watch":"babel src --out-dir dist --watch"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"2.8.4","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"1.8.1","devDependencies":{"babel":"^5.1.11"}},"1.2.0":{"name":"react-native-swiper","version":"1.2.0","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.2.0","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"3aa7306a95e97886823b73e8128cbae2ce08d183","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.2.0.tgz","integrity":"sha512-SoVX6VqqikL1eeN5YAQF9a/oXL5Otwujus6p9mPpS48EIOixg7qKZyO6F8mO04eSCfuHERnpYpPbXNTum4A8Mw==","signatures":[{"sig":"MEUCIBWUA2euz7Rb3BLIdGGc4PshX1jiER3K6goR2Vdj3zAnAiEAjURnmIxgmkgM3VWFJShjTh/Rm6Or1qo6um0mjR/bRKw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"3aa7306a95e97886823b73e8128cbae2ce08d183","gitHead":"fb60a228ad7ec5051cbce012694d6d1a34df05e4","scripts":{"start":"babel src --out-dir dist","watch":"babel src --out-dir dist --watch"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"2.8.4","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"1.8.1","devDependencies":{"babel":"^5.1.11"}},"1.2.2":{"name":"react-native-swiper","version":"1.2.2","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.2.2","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"fd1cfd6baad50630b54085f9a47004f1601ce57b","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.2.2.tgz","integrity":"sha512-5Nw0wG7cbUGAzBdMInxPZ5+oihHUOkyCp48pZCBGc1Ly/5oz/qQWJQoVkiixmz8/lhz2Am0gbJotnbM10pbBoA==","signatures":[{"sig":"MEQCIFjtj03o689iQuzi88VgE/dkMMmDGwSnPXHBSEhonqtSAiB13Ndgne1S9z+L3JOp4zOxOciQGDn0eBuCHm5yohImog==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"fd1cfd6baad50630b54085f9a47004f1601ce57b","gitHead":"1154e484999d47065ae8c0f8db2e2868b72c347f","scripts":{"start":"babel src --out-dir dist","watch":"babel src --out-dir dist --watch"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"2.9.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"1.8.1","devDependencies":{"babel":"^5.1.11"}},"1.3.0":{"name":"react-native-swiper","version":"1.3.0","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.3.0","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"67b0f81b7f21057e45cd6ae1c16fe93ed6db28fd","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.3.0.tgz","integrity":"sha512-iivALYPvuo5YQRakEAVobdJ8PeduhbPW8Xg/P+Qi99d2Mdl/SpZ7HVyqLwxARESeKxwuOSKkSvcntjekyoqQog==","signatures":[{"sig":"MEUCIBaza7bCx5Csk3NjLhLg9Yvt996cPWh9OdwCKBA57lbIAiEAt0w8qkRWtePtLyDc64K5c+TWIqfILs6rkdxEH8obZkU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"67b0f81b7f21057e45cd6ae1c16fe93ed6db28fd","gitHead":"cfd78245a4c65ad22ad9c286fdf498abca3e87f1","scripts":{"start":"babel src --out-dir dist","watch":"babel src --out-dir dist --watch"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"2.9.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"1.8.1","devDependencies":{"babel":"^5.1.11"}},"1.4.0":{"name":"react-native-swiper","version":"1.4.0","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.4.0","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"2fa59af60f002a89e3a6fe2a6164d68185ac3ade","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.4.0.tgz","integrity":"sha512-wvd8HrQQoogmxE/ViWRBYf7t/3BXmEoHsU7OMP+YJWrz3NGQlC7YI8GHLO97jDABUKsWEeZAl2dD+ktQx+vqww==","signatures":[{"sig":"MEUCIQDYOGsh6iLhzAjj6rPrpJdOVh9hgMx/nNFNV2g+je47WwIgDVaVcBCkcwEYg+wsc+w4DBg8uNIYHcTQtqI4bwV46hA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"2fa59af60f002a89e3a6fe2a6164d68185ac3ade","gitHead":"fc760e97509d57c0e2f2579fdb26447b724d99fd","scripts":{"start":"babel src --out-dir dist --presets es2015,react","watch":"babel src --out-dir dist --watch --presets es2015,react"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.3.4","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"5.3.0","dependencies":{"react-timer-mixin":"^0.13.3"},"devDependencies":{"babel-cli":"^6.3.17","babel-preset-react":"^6.3.13","babel-preset-es2015":"^6.3.13"}},"1.4.1":{"name":"react-native-swiper","version":"1.4.1","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.4.1","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"d1eeb81d2590871cc1137e43faa6e01c76c727ab","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.4.1.tgz","integrity":"sha512-cezkFB8pcFSwJtm8ZTGbMKck+nwluxWZJKZg3r1iUZBF0hayGy457WURj7MtOdxZ/KmHRCGpnNsUJlphxdieIw==","signatures":[{"sig":"MEQCIFiDQ6IApyJoAdUyfiGUJzAOpKz/iFRDsK+ZXavLTUyJAiBWx39R+uCEOvFNgo89YI6RPpPjKnotVuHpHFUOYxGgxw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"d1eeb81d2590871cc1137e43faa6e01c76c727ab","gitHead":"214af1a3c14ab19f21e2e7d823e9d592f3e3f7f9","scripts":{"start":"babel src --out-dir dist --presets es2015,react","watch":"babel src --out-dir dist --watch --presets es2015,react"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.3.4","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"5.3.0","dependencies":{"react-timer-mixin":"^0.13.3"},"devDependencies":{"babel-cli":"^6.3.17","babel-preset-react":"^6.3.13","babel-preset-es2015":"^6.3.13"}},"1.4.2":{"name":"react-native-swiper","version":"1.4.2","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.4.2","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"a34371535b258c67f874b40ae53311a990bb7cf4","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.4.2.tgz","integrity":"sha512-/wR5KLjO3+dbOcOf0t6OsAdjMG6BKfGGP8AItWUXtig4sYK3onYqvjDmw05gkE/VYCKkzogIwaH8nB6/K140cw==","signatures":[{"sig":"MEYCIQCqU89Ji463McjU5cQoZHG5ZtzZ6gGSrQfZqW+AB3Hq8gIhAPQqAQ0it8X7vvfYnZ/BNP1SsErE1GvTrM2TL5zmHJM+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"a34371535b258c67f874b40ae53311a990bb7cf4","gitHead":"160688ff8aaaf1b0f0e5ada5af2a8f1118da73a8","scripts":{"start":"babel src --out-dir dist --presets es2015,react","watch":"babel src --out-dir dist --watch --presets es2015,react"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.3.4","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"5.3.0","dependencies":{"react-timer-mixin":"^0.13.3"},"devDependencies":{"babel-cli":"^6.3.17","babel-preset-react":"^6.3.13","babel-preset-es2015":"^6.3.13"}},"1.4.3":{"name":"react-native-swiper","version":"1.4.3","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.4.3","maintainers":[{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"3f62d5926966a83cbe1c41d2795b2f447a38ed07","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.4.3.tgz","integrity":"sha512-MG1opTkKqrN9QOZ2peY4uC+p20Tzcb553zqppP0Rbdrg0fllKCbR/wyzpuVAhJSkr6mi+ZepQeEBHE9B3EC8Uw==","signatures":[{"sig":"MEYCIQCLc/tLvUjGU2gESprUzeGt62XBXyifevdZZ1DpohwSIQIhAJCpB00l72tnocSpyhMJZcFgYxsjbwjwcqQOYZM7Phtc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"3f62d5926966a83cbe1c41d2795b2f447a38ed07","gitHead":"3e5b05cf8e0ae9bbc25322d55fe474d845797270","scripts":{"start":"babel src --out-dir dist --presets es2015,react","watch":"babel src --out-dir dist --watch --presets es2015,react"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.3.4","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"5.3.0","dependencies":{"react-timer-mixin":"^0.13.3"},"devDependencies":{"babel-cli":"^6.3.17","babel-preset-react":"^6.3.13","babel-preset-es2015":"^6.3.13"}},"1.4.4":{"name":"react-native-swiper","version":"1.4.4","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.4.4","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"cb07d2e67cb09c2545c6c78364b15dd08fcc3616","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.4.4.tgz","integrity":"sha512-LDfWx3ZCf2u9m2P0lgOzN9YJkwXnGoLXbnLm5r4Dv6N08BfAxmyAkELGVEH6+FjragM67xtoUqa3tZhUpt4+vA==","signatures":[{"sig":"MEUCIGh4Q4wj2sDQ2aQit/uak7qV5cf5v4AmO9OvZ3Dv3y5KAiEA5mS+Li39aiwJDvVRkuCdSevixMO/gREdW8NI/8VqZCM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"cb07d2e67cb09c2545c6c78364b15dd08fcc3616","gitHead":"eed95bfcc6b76136e905fd5eb4da1d5876774c00","scripts":{"start":"babel src --out-dir dist --presets es2015,react","watch":"babel src --out-dir dist --watch --presets es2015,react"},"_npmUser":{"name":"rajkissu","email":"rajkissu@gmail.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.6.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"5.7.1","dependencies":{"react-timer-mixin":"^0.13.3"},"devDependencies":{"babel-cli":"^6.9.0","babel-preset-react":"^6.3.13","babel-preset-es2015":"^6.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.4.4.tgz_1463826749304_0.480910686776042","host":"packages-12-west.internal.npmjs.com"}},"1.4.5":{"name":"react-native-swiper","version":"1.4.5","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.4.5","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"050960ff30ec5f85980855f2d7fca220096e7fa9","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.4.5.tgz","integrity":"sha512-n/x1EzTHohwjXzOnczEFeyj5Wuvr/OTfSJfDtQ5ExXeEYB3s75MU+Ob6n8EhXLEvSOJjgfCx/LvUdxCWmtxpsA==","signatures":[{"sig":"MEUCIQCVrPHuMdilfNeoVKG1NhyO4kNOJWZ5jE64dmcB1r3G+QIgXm3VS9VMqw9++LBIUBZBUDEGQhegdy90du/c/AETMHs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"050960ff30ec5f85980855f2d7fca220096e7fa9","gitHead":"d4065d7ba9c670107ab9b2a248facfb4f78b4430","scripts":{"start":"babel src --out-dir dist --presets es2015,react","watch":"babel src --out-dir dist --watch --presets es2015,react"},"_npmUser":{"name":"rajkissu","email":"rajkissu@gmail.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.6.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"5.7.1","dependencies":{"react-timer-mixin":"^0.13.3"},"devDependencies":{"babel-cli":"^6.9.0","babel-preset-react":"^6.3.13","babel-preset-es2015":"^6.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.4.5.tgz_1464352285089_0.7956941178999841","host":"packages-12-west.internal.npmjs.com"}},"1.4.6":{"name":"react-native-swiper","version":"1.4.6","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.4.6","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"253abef9eda1365698be3bf74cc615b322a356e2","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.4.6.tgz","integrity":"sha512-oY6OY4cU892/FoxTTBZVvl+ts2H9go3rtLYutD9NY0mAdlwo088DNcaqdWfdtmGvUVb83iMZuNgpG5l5TYZRng==","signatures":[{"sig":"MEUCIQCET7ywEl5aqXGs++xZs+8+9im6wDvhv3SOpGpZoWjCIgIgZniYbszDYIS6AYZA3EVB92k/bD2wWSLsNlv9voeyzKg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"253abef9eda1365698be3bf74cc615b322a356e2","gitHead":"3bcd5bcf9443536f92a1a4b4dfce97f340d76386","scripts":{"start":"babel src --out-dir dist --presets es2015,react","watch":"babel src --out-dir dist --watch --presets es2015,react"},"_npmUser":{"name":"rajkissu","email":"rajkissu@gmail.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.9.3","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"6.2.1","dependencies":{"react-timer-mixin":"^0.13.3"},"devDependencies":{"babel-cli":"^6.9.0","babel-preset-react":"^6.3.13","babel-preset-es2015":"^6.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.4.6.tgz_1467368442254_0.08928157039918005","host":"packages-16-east.internal.npmjs.com"}},"1.4.7":{"name":"react-native-swiper","version":"1.4.7","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.4.7","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"2a0e6a22bf8ccef368ceaf076c30197bb398a6ff","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.4.7.tgz","integrity":"sha512-BUwM5TLrpr0cGeZI582mu95dLJTNYZmlgbhFuH13p90GGhfO9gQ5SOGWOS3NT2MOcWM3vMoVN0v47/ZetyzQ0w==","signatures":[{"sig":"MEUCIEz8bjVWlXYmIcZxblR2x0nswodlSv5DSOrHp2+tHvbdAiEA1N+LP2XppQ47ymP3R4QnmrOswvmMwFeEIDP4KLciJUg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"2a0e6a22bf8ccef368ceaf076c30197bb398a6ff","gitHead":"bd7a31e3e88b1a5a4bf1886db4642204846da8eb","scripts":{"start":"babel src --out-dir dist --presets es2015,react","watch":"babel src --out-dir dist --watch --presets es2015,react"},"_npmUser":{"name":"rajkissu","email":"rajkissu@gmail.com"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.9.3","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"6.2.1","dependencies":{"react-timer-mixin":"^0.13.3"},"devDependencies":{"babel-cli":"^6.10.1","babel-preset-react":"^6.11.1","babel-preset-es2015":"^6.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.4.7.tgz_1468983938027_0.5431328811682761","host":"packages-12-west.internal.npmjs.com"}},"1.4.8":{"name":"react-native-swiper","version":"1.4.8","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.4.8","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"b07a39283c05e975bb543aff49daf9210c4cb06e","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.4.8.tgz","integrity":"sha512-jkAes+sZLYH14OkVw3zK/rO/j2lIbk1c0bY2HdS3SIfppXTpbr9+2njcf4t2ld1Udj+ukaNiK5b2XEjVe0ydPw==","signatures":[{"sig":"MEQCIH/EIypwfio/sFRefOv6n8A7BuYwcM+lW++k/eo3oVjZAiBo6XiHdJSgYraOEtr9d1dC1xIhKLzGKCbpNiMz9XEhpg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"b07a39283c05e975bb543aff49daf9210c4cb06e","gitHead":"df6ee3f6a3fcf2dc7a57df607c403238806b140c","scripts":{"start":"babel src --out-dir dist --presets es2015,react","watch":"babel src --out-dir dist --watch --presets es2015,react"},"_npmUser":{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.6.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"5.7.0","dependencies":{"react-timer-mixin":"^0.13.3"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-react":"^6.11.1","babel-preset-es2015":"^6.9.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.4.8.tgz_1470005815629_0.13944806158542633","host":"packages-16-east.internal.npmjs.com"}},"1.4.9":{"name":"react-native-swiper","version":"1.4.9","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.4.9","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"f3f6f76309c3491f50de441579d435c2d5e379c4","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.4.9.tgz","integrity":"sha512-nKRiPn1a6KOm7S5odAY5n13ix8t263gn8MPAtQhO2u3gCOrLnpoTv5D9Qd5LBI0EHrqn/lLaz/jkQwyPbqfk5A==","signatures":[{"sig":"MEUCIQDGPjdsKchyXNBJ50BPNTonum/P+oJSDdOEpWvXGzrp3gIgUX2BCa1CyG7vpMD7Lm8gBg7xzZP80wJdmb9/8zdK9vM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"f3f6f76309c3491f50de441579d435c2d5e379c4","gitHead":"c946535bf66cfd6e06d31a73ceef5b71ca5fe607","scripts":{"start":"babel src --out-dir dist --presets es2015,react","watch":"babel src --out-dir dist --watch --presets es2015,react"},"_npmUser":{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.6.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"5.7.0","dependencies":{"react-timer-mixin":"^0.13.3"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-react":"^6.11.1","babel-preset-es2015":"^6.13.2"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.4.9.tgz_1471303744341_0.8235883431043476","host":"packages-16-east.internal.npmjs.com"}},"1.4.10":{"name":"react-native-swiper","version":"1.4.10","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.4.10","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"9af41f981d2852e65c9bf45126e283413b2fdf8a","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.4.10.tgz","integrity":"sha512-bNOM+M37nB5K9cVjDpVYCfdMAIfiG8x4DNPHAdRYRJcIqGQY79/m49LuDFu1dX2pP5zxEBHd0QpkUCqYiblJZg==","signatures":[{"sig":"MEUCIQD0FnVzIu4Zj26WYRK7F7TeyFdlI6LDm80527BisgVFLwIgbp2gn30PjzRMY39bP6/wbrPP/+VsnMTA/8MsU5WDjUY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"9af41f981d2852e65c9bf45126e283413b2fdf8a","gitHead":"31b35895c8259d8e73f70ed1b737f345eb3810be","scripts":{"start":"babel src --out-dir dist --presets es2015,react","watch":"babel src --out-dir dist --watch --presets es2015,react"},"_npmUser":{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.6.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"5.7.0","dependencies":{"react-timer-mixin":"^0.13.3"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-react":"^6.11.1","babel-preset-es2015":"^6.13.2"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.4.10.tgz_1471822691449_0.8846879138145596","host":"packages-12-west.internal.npmjs.com"}},"1.4.11":{"name":"react-native-swiper","version":"1.4.11","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.4.11","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"dist":{"shasum":"06bc59afcf46eb3cda6b821748a192f23d6a875a","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.4.11.tgz","integrity":"sha512-a+sqV2kqFhAtQgts7K5BXn4hc0SH2J3G4x1ziiE617RPCXsQ40eJwcGxBwMjdtYB8/tlP/BWnIX1+13eOxCPAw==","signatures":[{"sig":"MEQCIB9ezgsaMcJwbsd2naSGo+YDNCE+NNAK5QWdkWqWS5F2AiBkA1uKytqtUQloqjFoV21DCgs9Gu99PWHjYKPaTBqCqA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"06bc59afcf46eb3cda6b821748a192f23d6a875a","gitHead":"45ece7ba8e91691fa2bdeaf60a2579c4bf107130","scripts":{"start":"babel src --out-dir dist --presets es2015,react","watch":"babel src --out-dir dist --watch --presets es2015,react"},"_npmUser":{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.6.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"5.7.0","dependencies":{"react-timer-mixin":"^0.13.3"},"devDependencies":{"babel-cli":"^6.11.4","babel-preset-react":"^6.11.1","babel-preset-es2015":"^6.13.2"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.4.11.tgz_1472088371818_0.5814108413178474","host":"packages-16-east.internal.npmjs.com"}},"1.5.0":{"name":"react-native-swiper","version":"1.5.0","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.0","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"dbf8867b8318952475df96792be34f9e9e56b15a","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.0.tgz","integrity":"sha512-/n2SgRxl/t6eTv+zJKLW4iqb/XB0wc/50L6aBmsRY82THHvZ8qEjQbzPXgbrBF0CQiwv2KpR+kpL0P0Ty2Lc5A==","signatures":[{"sig":"MEUCIQCfUoY7tw8vB+h0QeeOsjpTf77sAWkhLUfuma2lfQStzwIgPjGYnx1FGEUlyzAc3T3kGfMSIXP+pVdok6D3npNvNdw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"dbf8867b8318952475df96792be34f9e9e56b15a","gitHead":"88b22bdf04cad887b2634a0aa695d0377703432f","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.10.8","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"6.7.0","dependencies":{},"devDependencies":{"updtr":"^0.2.1","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.3.0","babel-eslint":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.0.tgz_1475916383443_0.9266684954054654","host":"packages-16-east.internal.npmjs.com"}},"1.5.1":{"name":"react-native-swiper","version":"1.5.1","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.1","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"6216d49c594e1247ae0dca23756b141fff4dccbe","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.1.tgz","integrity":"sha512-e9W/BSLZcKEp7DvlzveXW7w82RrUlJklThnPwZoYkNdMYIJf/VuZXt6SmUb49imuJFlwQ+doyjqWvl5PfLx02Q==","signatures":[{"sig":"MEYCIQCmhHhBZsTn6R2b6/KiRGAe8gj5bh18H1DTlWgrNmfBbgIhANAroRgIpICfTPkHJUVHDYgOBevxLoc4v/UlYUYz1tEA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"6216d49c594e1247ae0dca23756b141fff4dccbe","gitHead":"4b4c4b721d5d7df208172acbab790fbdcb5652ec","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.10.8","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"6.7.0","dependencies":{},"devDependencies":{"updtr":"^0.2.1","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.3.0","babel-eslint":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.1.tgz_1475954909862_0.5233569911215454","host":"packages-16-east.internal.npmjs.com"}},"1.5.2":{"name":"react-native-swiper","version":"1.5.2","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.2","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"263f9caf2c0472a1bb7b83dbbcd37b46aa3762d4","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.2.tgz","integrity":"sha512-VpGDoJfqUHk3/awc8CV/k0pboSe9UHygJzw2XGCJBjBLVIFEhA3U2byYuJ6fsGLZL6fzdD1T4hWWk2SMqs6lAQ==","signatures":[{"sig":"MEUCIG8Cbm7Zx2bGaefTIdDHCO4HyhLQ3LUPLGS4i7uE9ZOVAiEAotZfrXYePXP3S0cHbOrg5+iPg3pA0ntpceN7zK7lzTE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"263f9caf2c0472a1bb7b83dbbcd37b46aa3762d4","gitHead":"8a88d894c88fd688ec922cf042ea4be10f68e8fc","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.10.9","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"6.8.1","dependencies":{},"devDependencies":{"updtr":"^0.2.1","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.4.0","babel-eslint":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.2.tgz_1476723817094_0.5291941079776734","host":"packages-16-east.internal.npmjs.com"}},"1.5.3":{"name":"react-native-swiper","version":"1.5.3","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.3","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"11ac74881f2dbb640592d7b1e60d472958550314","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.3.tgz","integrity":"sha512-H4IyDS2nR9Eyap38WilHV6BV2ecsDbLYyBOOmxPYFyDtaQyG4zTC0J83DcDLo58l5gh6tUMWygodga58R9GI1w==","signatures":[{"sig":"MEQCIH/7OgO6Qef63DUqaV5+QDZd+7IsiThGpal4pw5Vi50gAiBb2Bj+qjZyonRcz+2WN96WoAmJJzT4j6fm6OZ8eqva3w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"11ac74881f2dbb640592d7b1e60d472958550314","gitHead":"ed6eb6da5c4a3c4d787627685dbb79529aae20d2","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"4.0.1","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"7.0.0","dependencies":{},"devDependencies":{"updtr":"^0.2.1","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.5.0","babel-eslint":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.3.tgz_1478055007253_0.18523712689056993","host":"packages-18-east.internal.npmjs.com"}},"1.5.4":{"name":"react-native-swiper","version":"1.5.4","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.4","maintainers":[{"name":"leecade","email":"leecade@163.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"a85535b5374ef8d605a7a720e447ac46816ac448","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.4.tgz","integrity":"sha512-6S7HidU7iSb7LqBQbC0qSoy++INs8TKTzuQzIlIslt/K7Ys9USPPitJkVZ2wfs+zYvGqq8yRKohzZKlb6av/Yw==","signatures":[{"sig":"MEYCIQC55iHAcXbzMn6HUEovcktJTi9Hr1YqpjHz/cH5CIiXaAIhAIcx8etrx8r5H0ZBrwE/69Y/mlPFhugVa6RnDQz4VEfv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"a85535b5374ef8d605a7a720e447ac46816ac448","gitHead":"2b99e5dd18d7bce38f603631c3370a220383855e","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"leecade","email":"leecade@163.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"4.0.2","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"7.1.0","dependencies":{},"devDependencies":{"updtr":"^0.2.3","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.5.0","babel-eslint":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.4.tgz_1479688466532_0.9815433383919299","host":"packages-12-west.internal.npmjs.com"}},"1.5.5":{"name":"react-native-swiper","version":"1.5.5","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.5","maintainers":[{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"faf306fcaa676465f50459f16ee25c40c2d70e28","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.5.tgz","integrity":"sha512-xMm3yubfOMCYiZZelQkxYaXPWPuc5MteM2kf5opCNakdrWu0I8l/Jp2fBiZ0eWI/DnlGCWvewOur8CWVJbU5Vw==","signatures":[{"sig":"MEYCIQCl/ETuMf+y6MV6h9yo1DHmM3KqOHZaU/vY8ccZUQbyMgIhAMPqadRB3sCjmoXkZa+es7UxH62VZ0OQUH7JkkF0XNDM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"faf306fcaa676465f50459f16ee25c40c2d70e28","gitHead":"54a50c54cba6f2d845fe3ca4c565dbc0e670b22f","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"mrdezzods","email":"bvsapkota@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.10.10","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"6.10.3","dependencies":{"prop-types":"^15.5.10"},"devDependencies":{"updtr":"^0.2.3","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.5.0","babel-eslint":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.5.tgz_1501875011683_0.28846631897613406","host":"s3://npm-registry-packages"}},"1.5.7":{"name":"react-native-swiper","version":"1.5.7","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.7","maintainers":[{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"62db6d8197cd94f97ee6f5c634b1de44dd68e6fc","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.7.tgz","integrity":"sha512-AOFk32Q1tDKrq2uvz9XD5wuN8J90Ajk5h56sW0SYGZ8JAs+ak2gOS5QIsBxvkiHMf7MEKimeZwvp8UHXVZ9KPA==","signatures":[{"sig":"MEUCIQDZp8MHVEFtHYEOeOpiDGOdf09pqq6IqlTwc49DczrPcQIgI92n1awpa7hemPQfV3Od2r5+OZSiCrd697LX0re/06Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"62db6d8197cd94f97ee6f5c634b1de44dd68e6fc","gitHead":"4336cf934250cfe98659eea70acfc1822e9b448b","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"mrdezzods","email":"bvsapkota@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"4.2.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"7.8.0","dependencies":{"prop-types":"^15.5.10"},"devDependencies":{"updtr":"^0.2.3","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.5.0","babel-eslint":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.7.tgz_1502176551180_0.38526000804267824","host":"s3://npm-registry-packages"}},"1.5.8":{"name":"react-native-swiper","version":"1.5.8","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.8","maintainers":[{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"a926905f3d7bb5dfdfba166c0d129cc81aeb4bb3","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.8.tgz","integrity":"sha512-m6uMe+XIG5AAe5m4sX4jdfZIEVmlWk4l2vNpu1Rf7SK7bVnE53uMnGF+bolcdtviDN29vUZYeBrOBLGSJwDq7A==","signatures":[{"sig":"MEUCIG3VM0Lq4zplfEpDZeB6qullWl/YedAo3HMhTdIpa8e/AiEAvpuBRpxxf//yqD2HNf267K607ri2pILkcndaEYfpop0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"a926905f3d7bb5dfdfba166c0d129cc81aeb4bb3","gitHead":"473533efe86db05dd04a30cd8d8d4d661e80f66c","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"mrdezzods","email":"bvsapkota@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"4.2.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"7.8.0","dependencies":{"prop-types":"^15.5.10"},"devDependencies":{"updtr":"^0.2.3","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.5.0","babel-eslint":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.8.tgz_1502308641299_0.874550698325038","host":"s3://npm-registry-packages"}},"1.5.9":{"name":"react-native-swiper","version":"1.5.9","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.9","maintainers":[{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"leecade","email":"leecade@163.com"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"7f7cd21e74a0c9fe7ac25c12714bf4d655823920","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.9.tgz","integrity":"sha512-hNrvvDbV4oshsSfcHri/no2WVIEg3PlpdaR3J9+YfzK1AoNSs2iaud9x6Ks7wIqcUMB/54TTTDZ6Rm+LoAhHeA==","signatures":[{"sig":"MEUCIHiHxfxkYKYVSc9Tqq6iRWHhUQIDvfU8+mCKf7dhc7TuAiEAn/eIxCz5KA5ZrdPsnYWvRURYS+wbIcQvzq6VKi+C/qI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"7f7cd21e74a0c9fe7ac25c12714bf4d655823920","gitHead":"b46f3b88ab68351b8f7056e345e99d4be0e80a6a","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"mrdezzods","email":"bvsapkota@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"3.10.10","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"6.10.3","dependencies":{"prop-types":"^15.5.10"},"devDependencies":{"updtr":"^0.2.3","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.5.0","babel-eslint":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.9.tgz_1502443059783_0.017441553063690662","host":"s3://npm-registry-packages"}},"1.5.10":{"name":"react-native-swiper","version":"1.5.10","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.10","maintainers":[{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"20569b85623bdd3f667a376999b3844007d11dc1","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.10.tgz","integrity":"sha512-ozTxwhr5IIcb96OuC8746pbiMuCfQGSohUtZ7KS589p/HfF4TVhmjHMVfZuGGX3xAaAwb+ojMxUsVJosbtB9Hw==","signatures":[{"sig":"MEUCICa7YcNrvSr7DulpsmmL5AhNdcB1PicsL5j9umrC66eiAiEAgqknp+VXd3Uz1vKigSi2OHxGOp2ZA9OLaJ+oePU1kj8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"6fd0c3d314414f34acec9b9e83ef5198156705bf","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arribbar","email":"bart@getkumbu.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"5.3.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"8.2.1","dependencies":{"prop-types":"^15.5.10"},"devDependencies":{"updtr":"^0.2.3","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.5.0","babel-eslint":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.10.tgz_1502717377531_0.9727471086662263","host":"s3://npm-registry-packages"}},"1.5.11":{"name":"react-native-swiper","version":"1.5.11","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.11","maintainers":[{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"2d46ded43f383dbde4540d513cb4eaaa60eaed61","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.11.tgz","integrity":"sha512-aAcrrxsyn473eCJFVrWddV0c3QIVne9lwtjxqAGdBW6iW+X7mTvIbtpEG5uAmcTnxSSlwkRMMwF2oQ/EHzIa3g==","signatures":[{"sig":"MEYCIQDiHRU1wF8R0mSjymaP144TAqEnnneEYqiNHQRe/FaaEgIhAOnlRuD4XAF3RI/IIqWyFl2Bq3EkvCblgqUDxDRXYEG2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"00e40501e14e5c106476d53f66f10fbf71268610","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arribbar","email":"bart@getkumbu.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"5.4.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"8.2.1","dependencies":{"prop-types":"^15.5.10"},"devDependencies":{"updtr":"^0.2.3","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.5.0","babel-eslint":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.11.tgz_1504728579823_0.5786475497297943","host":"s3://npm-registry-packages"}},"1.5.12":{"name":"react-native-swiper","version":"1.5.12","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.12","maintainers":[{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"fe040e19d936304013f1671dd83f7e25ee3c4d83","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.12.tgz","integrity":"sha512-imrs22VAlpkIEC0d6nX0UAakeaQ9SW5EQ+aGqPuAlp/Au4CXyuN5tb6B4KFZUs3fjP7HXjrvVHKj0NCvUbF7SA==","signatures":[{"sig":"MEYCIQCRUmbpfCrcp+9COzXtQsQctmX2N3xBinNp8lq9qaIJgQIhANaCQq/wBzjk0oLMS7EO9mdYkHJ6XLeDMImtRBFP6unU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"d6b190928d8bf399293a8400a5c403963ace3511","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arribbar","email":"bart@getkumbu.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"5.4.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"8.2.1","dependencies":{"prop-types":"^15.5.10"},"devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^6.0.0","standard":"^10.0.3","babel-eslint":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.12.tgz_1505157930472_0.7570337746292353","host":"s3://npm-registry-packages"}},"1.5.13":{"name":"react-native-swiper","version":"1.5.13","keywords":["react-component","react-native","ios"],"author":"","license":"ISC","_id":"react-native-swiper@1.5.13","maintainers":[{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"fa695cd4ab77b9a9df2d2bfee38ea7274dd07a2e","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.13.tgz","integrity":"sha512-byBPx3qz3FvZhk4O8LR8am5SoO/pwm2Sj1OmFuXOOLYEj87+PzQaTr9u7+mgU76Ti2TP1OWnCPTXH6XUXYwxyw==","signatures":[{"sig":"MEUCIQD+7g8MxYsW41zeuOQ3JdRwOtOfXc1ZmSlUCveeMVdPfwIgW/IDjABNfvfMY8CYLutk+G/lyqAaoqd0RdFZFniktA4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"bada1db50368951d862a69ccba04932cc0419986","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arribbar","email":"bart@getkumbu.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"5.4.2","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"8.6.0","dependencies":{"prop-types":"^15.5.10"},"devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^6.0.0","standard":"^10.0.3","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper-1.5.13.tgz_1506967855551_0.9823614105116576","host":"s3://npm-registry-packages"}},"1.5.14":{"name":"react-native-swiper","version":"1.5.14","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.5.14","maintainers":[{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"1c6f949ca377186300f972bb0f30d24062c899aa","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.5.14.tgz","fileCount":13,"integrity":"sha512-Kn0fxKooN7Shwu1qJYHB+Y8ssXXnvrIwReHXU5jCdyYNfz2QbBv0Cv3sa2Mqzr+XgzORCFFIokc8uCCUITDrVA==","signatures":[{"sig":"MEUCIDnJLmkM4X9ahA0V1O3OMVUasMzov0PzpEgK3Pk14qiUAiEAzWUm8YjrPpVALDMM9rKcfC1vwJwODHA2YLurwirIcv4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+8kBCRA9TVsSAnZWagAA0sEP/RBKcQHpvAsqyd3ZAblO\nSewL9IbJ6uMw/sMUXU4Iv5M7MgktW0q7Jff09QbfWAsW10TZ110bHodDgjwt\nNTnQjQBXtLH7qnaODIRg11c9m6TTToVAhBB8YlAZCPyDFnF4nO2I21lBK9yV\nyKPHr0V7tQRCIkseZahT92NjT9f4D1t/Hg/ldfCQyvDwy+oEHzkBTojY0jJ1\n92A/XP/opYfcOi8wfgef020227KFtpAYiBbLVYzOxLH8pxivsw7NjenqEP6v\nn8SiqlbjeBsNMDKtY7N6Y+VHM74CyyPc+gXKceQtkFfT/kXZTbh5+W9wEt1r\nJtQENH1512Jftr5bKBx95jQ7YBybh1muSyTE1ZnsYz2/B0zY5YKHRRPkbGTp\nMjLssytp+wAwxhktojVwYpttGcRHss3pcwkwYTaQb3wj/jHp06xIPWRGnKKv\n9TZLzRkSilggoevpP26Ccg32mVA6VhB/d5IBfeu/4x3nYHQnfNYR899jU8mM\nUwMiD57aHuo+FFXoYDWOL7YrRMwC4Giunoelfzd4F7Nc6fzdO9xTMWcAlowt\nOwk9as32YD+7nXqjprQIiep6k2Tff3WIEzdVdJ7k4iWGikpEf+dLDPaUqGHR\nxvCFjUuAQ3RxkR4rM/InpAAMNE5Wvpmpsjp+PnTDEKXefk77xByTmKg7JqH0\n3t+V\r\n=o3sN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"cb8c080a8ff6a483aa936317e3f4b338b3188809","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arribbar","email":"bart@getkumbu.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.4.1","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"11.1.0","dependencies":{"prop-types":"^15.5.10"},"_hasShrinkwrap":false,"devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^6.0.0","standard":"^10.0.3","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.5.14_1543227648993_0.895873860135092","host":"s3://npm-registry-packages"}},"1.6.0-dev":{"name":"react-native-swiper","version":"1.6.0-dev","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.6.0-dev","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"2e80d138bf9f020655ab0d8beeb78f6526326233","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.6.0-dev.tgz","fileCount":13,"integrity":"sha512-Td3rFN6JCY33kSp7ox64L4mN/rUe7BstrHygkjz+/CzwQh1FBJDdSV9wFFEtVEXNrwoNUokFmUxmYc5YVQE4eg==","signatures":[{"sig":"MEUCIC5ib3BdvUR7vQGt4pm3e1bJmxuxDP0d30FXLT5Wo9UWAiEAsyjXhUfx84OtjUgJHDK40uqwoo0Q5o3+6PZPIRk75ow=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEu//CRA9TVsSAnZWagAAqroP/i40qXLZXV1CxeVsCYOR\ngRyJe7OpIqUCdiOdJRHkOHVh9K4E2cHQqv7DMlSvgvuMA0OmuiL/UdTVJgai\nf174FmXpcW+85HwOUPcybOeivkI7Ml4UwRoPKVx4bf5T91oIXx7efevElMdq\nreN+Y5ExA4NxVP7DFBPiCFnlWg5d7N0qIdNuj8AV/p0+FjzexEO5M0HrSv0W\nUMUXVv4zhAigBM53WCIbdQIIi3tE30fxEDNDzIBowvXjLxdKwXJXayJS2t7O\nWMy8EzHq1eTEeT6Xg+xIBHA00oGvZCjV2IO+cRoQAulRzIqrMA8D9tKj/tnf\nPArZHe2IkQ0IPVgFl0Wo3enPscK90RNCjlct+/2ZaXkjBpTx/U3biTvWZomX\noXIOf+utBGNj8FHxMAU3oxBAtnry1zqhuUo0mv5T3lfLy0bld1XzdpxBynF5\nLNHWqBMyv04Xut2KpU1PtN0q2Bah0KSC6g8Lncu9YXcyXBh0ZXeNNM2OpsIU\nkbFiEwxXJWPJtJpF7j3hcqA7kvxbDhXpmg48IEmGrkiYTb/zRneSRMmUrL9Y\n3OkUHUKRRphOnjYSu/H0Wg+TD2mXWBKEPzvXnA/PpIAObfj9JNKR4EV46SbX\nPalvgG6irIETQaQphDskQ5oEjFLoVVNUAecawjdix/6KevFxbWThawvBXmsf\ntqSt\r\n=b+dQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"readme":"> Hi there:\n\n[**头条财经前端团队急招**] 了解团队 / 投简历请联系:\n\n微信: 103024979 / 邮箱: leecade@163.com\n\n「全新团队, 全新产品, 全新技术栈, 不设技术边界, 不设管理, 不装」\n\n要求: 参考头条面试标准 (重度: `Node` / `RN` / `Vue` / `React` / `微服务` 等技术向)\n\n<img style=\"float: left\" alt=\"react-native-swiper\" src=\"https://user-images.githubusercontent.com/533360/45361035-c620de00-b603-11e8-9fa7-cb7586e08b66.png\" width=\"150\">\n\n---\n\n<p align=\"center\">\n  <img alt=\"react-native-swiper\" src=\"http://i.imgur.com/P4cRUgD.png\" width=\"208\">\n</p>\n\n<p align=\"center\">\n  The best Swiper component for React Native.\n</p>\n\n<p align=\"center\">\n  <a href=\"http://standardjs.com/\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/v/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/dm/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/pulls?q=is%3Apr+is%3Aclosed\"><img alt=\"PR Stats\" src=\"https://img.shields.io/issuestats/i/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/issues?q=is%3Aissue+is%3Aclosed\"><img alt=\"Issue Stats\" src=\"https://img.shields.io/issuestats/p/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/leecade/react-native-swiper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\"><img alt=\"Join the chat\" src=\"https://badges.gitter.im/leecade/react-native-swiper.svg\"></a>\n</p>\n\n# react-native-swiper\n\n## Roadmap\n\n> see: [ROADMAP.md](ROADMAP.md)\n\n## Changelogs\n\n- **[1.6.0-dev]**\n  - ViewPagerAndroid: react-native => @react-native-community/viewpager\n  - add TypeScript typing of containerStyle\n- [1.5.6]\n\n  - Fix [#16](https://github.com/leecade/react-native-swiper/issues/16), [#36](https://github.com/leecade/react-native-swiper/issues/36), [#371](https://github.com/leecade/react-native-swiper/issues/371), [#410](https://github.com/leecade/react-native-swiper/issues/410), [#411](https://github.com/leecade/react-native-swiper/issues/411), [#422](https://github.com/leecade/react-native-swiper/issues/422), [#468](https://github.com/leecade/react-native-swiper/issues/468) Fix landscape orientation auto resize! (thanks [@ahmed3mar](https://github.com/ahmed3mar), [@timmywil](https://github.com/timmywil))\n  - Add containerStyle prop to customize the view container.\n\n- [1.5.5]\n  - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes\n\n* [1.5.4]\n\n  - Added easily accessible pagination point manipulation: use `dotColor` / `activeDotColor` and `dotStyle` / `activeDotStyle` (thanks [@denizs](https://github.com/denizs))\n  - Added scrollEnabled prop to documentation (thanks [@ibandominguez](https://github.com/ibandominguez))\n\n* [1.5.3]\n\n  - Add loadMinimalLoader prop to customize `<ActivityIndicator />` (thanks [@Exilz](https://github.com/Exilz))\n  - Disable autoplay timer when prop changes to false (thanks [@dizlexik](https://github.com/dizlexik))\n  - Special thanks to [@hypatiah](https://github.com/dizlexik) for fixed some grammatical errors in README\n\n* [1.5.2]\n  - Add yarn lock\n  - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [@nemophrost](https://github.com/nemophrost))\n  - The first webview always reloaded when injecting the rest of the children (thanks [@eosterberg](https://github.com/eosterberg))\n\n> see more: [CHANGELOG.md](CHANGELOG.md)\n\n## Show Cases\n\n> Try these cases by yourself very easy, Just open `examples/ios/swiper.xcodeproj` in Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases.\n\n### [examples/components/Basic](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic)\n\n![](http://i.imgur.com/zrsazAG.gif=300x)\n\n### [examples/components/Swiper](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Swiper)\n\n![](http://i.imgur.com/hP3f3oO.gif=300x)\n\n### [examples/components/SwiperNumber](https://github.com/leecade/react-native-swiper/blob/master/examples/components/SwiperNumber)\n\n![](http://i.imgur.com/0rqESVb.gif=300x)\n\n### [examples/components/Phone](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Phone)\n\n![](http://i.imgur.com/c1BhjZm.gif=300x)\n\n### [examples/components/LoadMinimal](https://github.com/leecade/react-native-swiper/blob/master/examples/components/LoadMinimal)\n\n![](http://i.imgur.com/LAOHbJA.gif=300x)\n\n## Getting Started\n\n- [Installation](#installation)\n- [Basic Usage](#basic-usage)\n- [Properties](#properties)\n  - [Basic](#basic)\n  - [Custom basic style & content](#custom-basic-style--content)\n  - [Pagination](#pagination)\n  - [Autoplay](#autoplay)\n  - [Control buttons](#control-buttons)\n  - [Props of Children](#props-of-children)\n  - [Basic props of `<ScrollView />`](#basic-props-of-scrollview-)\n  - [Supported ScrollResponder](#supported-scrollresponder)\n- [Examples](#examples)\n- [Development](#development)\n\n### Installation\n\n> v1.5.14\n\n```bash\n$ npm i react-native-swiper --save\n```\n\n> v1.6.0-dev\n\n```\nnpm i --save react-native-swiper@next\n# Linking @react-native-community/viewpager\nreact-native link @react-native-community/viewpager\n# Linking manually: https://github.com/react-native-community/react-native-viewpager#manual-installation\n```\n\n### Basic Usage\n\n- Install `react-native` first\n\n```bash\n$ npm i react-native-cli -g\n```\n\n- Initialization of a react-native project\n\n```bash\n$ react-native init myproject\n```\n\n- Then, edit `myproject/index.ios.js`, like this:\n\n```jsx\nimport React, { Component } from 'react'\nimport { AppRegistry, StyleSheet, Text, View } from 'react-native'\n\nimport Swiper from 'react-native-swiper'\n\nconst styles = StyleSheet.create({\n  wrapper: {},\n  slide1: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#9DD6EB'\n  },\n  slide2: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#97CAE5'\n  },\n  slide3: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#92BBD9'\n  },\n  text: {\n    color: '#fff',\n    fontSize: 30,\n    fontWeight: 'bold'\n  }\n})\n\nexport default class Swiper extends Component {\n  render() {\n    return (\n      <Swiper style={styles.wrapper} showsButtons={true}>\n        <View style={styles.slide1}>\n          <Text style={styles.text}>Hello Swiper</Text>\n        </View>\n        <View style={styles.slide2}>\n          <Text style={styles.text}>Beautiful</Text>\n        </View>\n        <View style={styles.slide3}>\n          <Text style={styles.text}>And simple</Text>\n        </View>\n      </Swiper>\n    )\n  }\n}\n\nAppRegistry.registerComponent('myproject', () => Swiper)\n```\n\n### Properties\n\n#### Basic\n\n| Prop           |     Default     |   Type   | Description                                                                                                 |\n| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |\n| horizontal     |      true       |  `bool`  | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column. |\n| loop           |      true       |  `bool`  | Set to `false` to disable continuous loop mode.                                                             |\n| index          |        0        | `number` | Index number of initial slide.                                                                              |\n| showsButtons   |      false      |  `bool`  | Set to `true` make control buttons visible.                                                                 |\n| autoplay       |      false      |  `bool`  | Set to `true` enable auto play mode.                                                                        |\n| onIndexChanged | (index) => null |  `func`  | Called with the new index when the user swiped                                                              |\n\n#### Custom basic style & content\n\n| Prop              |         Default         |   Type    | Description                                                                |\n| :---------------- | :---------------------: | :-------: | :------------------------------------------------------------------------- |\n| width             |            -            | `number`  | If no specify default enable fullscreen mode by `flex: 1`.                 |\n| height            |            -            | `number`  | If no specify default fullscreen mode by `flex: 1`.                        |\n| style             |          {...}          |  `style`  | See default style in source.                                               |\n| containerStyle    |          {...}          |  `style`  | See default container style in source.                                     |\n| loadMinimal       |          false          |  `bool`   | Only load current index slide , `loadMinimalSize` slides before and after. |\n| loadMinimalSize   |            1            | `number`  | see `loadMinimal`                                                          |\n| loadMinimalLoader | `<ActivityIndicator />` | `element` | Custom loader to display when slides aren't loaded                         |\n\n#### Pagination\n\n| Prop             |                                                                          Default                                                                          |    Type    | Description                                                                                                                                                                                   |\n| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| showsPagination  |                                                                           true                                                                            |   `bool`   | Set to `true` make pagination visible.                                                                                                                                                        |\n| paginationStyle  |                                                                           {...}                                                                           |  `style`   | Custom styles will merge with the default styles.                                                                                                                                             |\n| renderPagination |                                                                             -                                                                             | `function` | Complete control how to render pagination with three params (`index`, `total`, `context`) ref to `this.state.index` / `this.state.total` / `this`, For example: show numbers instead of dots. |\n| dot              | `<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 8, height: 8,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />` | `element`  | Allow custom the dot element.                                                                                                                                                                 |\n| activeDot        |   `<View style={{backgroundColor: '#007aff', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />`    | `element`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotStyle         |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotColor         |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotColor   |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotStyle   |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n\n#### Autoplay\n\n| Prop              | Default |   Type   | Description                                      |\n| :---------------- | :-----: | :------: | :----------------------------------------------- |\n| autoplay          |  true   |  `bool`  | Set to `true` enable auto play mode.             |\n| autoplayTimeout   |   2.5   | `number` | Delay between auto play transitions (in second). |\n| autoplayDirection |  true   |  `bool`  | Cycle direction control.                         |\n\n#### Control buttons\n\n| Prop               |                                                                                                   Default                                                                                                   |   Type    | Description                                 |\n| :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------: | :------------------------------------------ |\n| showsButtons       |                                                                                                    true                                                                                                     |  `bool`   | Set to `true` make control buttons visible. |\n| buttonWrapperStyle | `{backgroundColor: 'transparent', flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 10, justifyContent: 'space-between', alignItems: 'center'}` |  `style`  | Custom styles.                              |\n| nextButton         |                                                                                 `<Text style={styles.buttonText}>›</Text>`                                                                                  | `element` | Allow custom the next button.               |\n| prevButton         |                                                                                 `<Text style={styles.buttonText}>‹</Text>`                                                                                  | `element` | Allow custom the prev button.               |\n\n#### Props of Children\n\n| Prop  |               Default                |   Type    | Description                                                    |\n| :---- | :----------------------------------: | :-------: | :------------------------------------------------------------- |\n| style |                {...}                 |  `style`  | Custom styles will merge with the default styles.              |\n| title | {<Text numberOfLines={1}>...</Text>} | `element` | If this parameter is not specified, will not render the title. |\n\n#### Basic props of `<ScrollView />`\n\n| Prop                             | Default |  Type  | Description                                                                                                                                                                                                                                     |\n| :------------------------------- | :-----: | :----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| horizontal                       |  true   | `bool` | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column.                                                                                                                                     |\n| pagingEnabled                    |  true   | `bool` | If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.                                                                                                               |\n| showsHorizontalScrollIndicator   |  false  | `bool` | Set to `true` if you want to show horizontal scroll bar.                                                                                                                                                                                        |\n| showsVerticalScrollIndicator     |  false  | `bool` | Set to `true` if you want to show vertical scroll bar.                                                                                                                                                                                          |\n| bounces                          |  false  | `bool` | If `true`, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If `false`, it disables all bouncing even if the alwaysBounce\\* props are true. |\n| scrollsToTop                     |  false  | `bool` | If true, the scroll view scrolls to top when the status bar is tapped.                                                                                                                                                                          |\n| removeClippedSubviews            |  true   | `bool` | If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.                                                            |\n| automaticallyAdjustContentInsets |  false  | `bool` | Set to `true` if you need adjust content insets automation.                                                                                                                                                                                     |\n| scrollEnabled                    |  true   | `bool` | Enables/Disables swiping                                                                                                                                                                                                                        |\n\n> @see: http://facebook.github.io/react-native/docs/scrollview.html\n\n#### Supported ScrollResponder\n\n| Prop                |          Params           |    Type    | Description                                                 |\n| :------------------ | :-----------------------: | :--------: | :---------------------------------------------------------- |\n| onScrollBeginDrag   | `e` / `state` / `context` | `function` | When animation begins after letting up                      |\n| onMomentumScrollEnd | `e` / `state` / `context` | `function` | Makes no sense why this occurs first during bounce          |\n| onTouchStartCapture | `e` / `state` / `context` | `function` | Immediately after `onMomentumScrollEnd`                     |\n| onTouchStart        | `e` / `state` / `context` | `function` | Same, but bubble phase                                      |\n| onTouchEnd          | `e` / `state` / `context` | `function` | You could hold the touch start for a long time              |\n| onResponderRelease  | `e` / `state` / `context` | `function` | When lifting up - you could pause forever before \\* lifting |\n\n> Note: each ScrollResponder be injected with two params: `state` and `context`, you can get `state` and `context`(ref to swiper's `this`) from params, for example:\n\n```jsx\nvar swiper = React.createClass({\n  _onMomentumScrollEnd: function (e, state, context) {\n    console.log(state, context.state)\n  },\n  render: function() {\n    return (\n      <Swiper style={styles.wrapper}\n      onMomentumScrollEnd ={this._onMomentumScrollEnd}\n     ...\n      </Swiper>\n    )\n  }\n})\n```\n\n> More ScrollResponder info, see: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollResponder.js\n\n### Methods\n\n#### scrollBy(index, animated)\n\nScroll by relative index.\n\nParameters:\n\n| Name     |   Type   |   default   | Description  |\n| :------- | :------: | :---------: | :----------- |\n| index    | `number` | `undefined` | offset index |\n| animated |  `bool`  |   `true`    | offset index |\n\n### Examples\n\n```bash\n$ cd examples\n$ npm i\n$ react-native run-ios\n```\n\n> Quick start with [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/).\n\n### Development\n\n```bash\n$ cd examples\n$ npm i\n$ npm run dev\n$ react-native run-ios\n```\n\nThen launch simulator to preview. Note that you just need to edit the source file `src/index.js`, the change will auto sync to examples.\n\nAnd now that this project follows the [standard](https://github.com/feross/standard) code style, you'd better prepare it for IDE.\n\n## Contribution\n\n- [@leecade](mailto:leecade@163.com) The main author.\n- [@rajkissu](mailto:rajkissu@gmail.com) The secondary contributor.\n\n## Questions\n\nFeel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new)\n\n> Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥.\n","gitHead":"bba003f23fc0db596dc8a40ec9e9748777a0e384","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","commit":"npx git-cz","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.9.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"11.11.0","dependencies":{"prop-types":"^15.5.10","@react-native-community/viewpager":"^1.1.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^6.0.0","standard":"^10.0.3","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.6.0-dev_1561522174414_0.6225379931273174","host":"s3://npm-registry-packages"}},"1.6.0-nightly.0":{"name":"react-native-swiper","version":"1.6.0-nightly.0","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.6.0-nightly.0","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"a4e268ee1d35c40238566f42b353eb3c37c7bfe4","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.6.0-nightly.0.tgz","fileCount":14,"integrity":"sha512-VcDaHEhPjzLuJK9/BIKiu2HWFFvdkw8JbwTx7sIGDXuL7zTa+OuOYGL4U1iZCTiXmmCf5BVB7EI6BJW8kjxDNw==","signatures":[{"sig":"MEYCIQDCsBjCuDB3K610KQHwM3hFrSRDM/u1dQRU+a4t/wHJwgIhAMd9p6dhOY1G3SJgxQBhXR1/Gx//9Vju5ytgufaG3XzB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdE4K6CRA9TVsSAnZWagAAxpUP+wYG0QkOf7RlTJHchfiF\nTdrKvElSkOSKLG0YxeO1X7RZu7cpW5ILAFCqeA+lbL2HFrFbYFg5VHlm9Vxz\nw1uPhrc1XmHvRCXeD+1AvX+oe60WrqdUPg53BS3iAvTJmmLrPHJYBmJo+HF7\nOdOb/M2iCYN/wuxO31pGAqF6I+U8wZbPWJbfdoH9FpLMMs3ln2WmW9HzE24p\nklN1jlxRIDoNTydvoDa/BTMGq/F7RkaD2m1a85naeWJpXAnvVH+i0DghIyZP\nuFkT/Zso8/+VHJHJaf6mAfs1mrCAwuQe0V23rhi/Mounycr82yzVS9SAvh4w\nuJ43BIDFvlc0UmjQchZaCZTkje41IHUzjlud8KC51aIdD+KQ4uJiRLACO0H3\ntzHQ8GJvbxero3WlnkNq+6Jx4/3wQXp1c8LEImgsZNnoV1mJ2zY56F70PVhk\nZ2W2tXS6cJmBIUW3jaPOIEOaBT1lE6YslPVXMuKJZ4jGiIJ0siB7sr4vubZF\nU3y+NXeqKiAjYql82cOoFpmrZy8y43eEp/yC9DjlROxjIcqvIUlxIMwfBLiA\nrlCOSSxQQ0e0WM9cnJpy7VEZbboIBRhC+gIzyaaPiDRvaE8l15UGceV4TJfG\nwnRUAyvNlXMTObTdDWzELe5ups5RAt34zcOcDB0o4XPJmqKamHmi+A/Qfg4c\neky2\r\n=/y6Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"readme":"<p align=\"center\">\n  <img alt=\"react-native-swiper\" src=\"http://i.imgur.com/P4cRUgD.png\" width=\"208\">\n</p>\n\n<p align=\"center\">\n  The best Swiper component for React Native.\n</p>\n\n<p align=\"center\">\n  <a href=\"http://standardjs.com/\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/v/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/dm/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/pulls?q=is%3Apr+is%3Aclosed\"><img alt=\"PR Stats\" src=\"https://img.shields.io/issuestats/i/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/issues?q=is%3Aissue+is%3Aclosed\"><img alt=\"Issue Stats\" src=\"https://img.shields.io/issuestats/p/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/leecade/react-native-swiper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\"><img alt=\"Join the chat\" src=\"https://badges.gitter.im/leecade/react-native-swiper.svg\"></a>\n</p>\n\n# react-native-swiper\n\n## Roadmap\n\n> see: [ROADMAP.md](ROADMAP.md)\n\n## Changelogs\n\n- **[1.6.0-dev]**\n  - ViewPagerAndroid: react-native => @react-native-community/viewpager\n  - add TypeScript typing of containerStyle\n- [1.5.6]\n\n  - Fix [#16](https://github.com/leecade/react-native-swiper/issues/16), [#36](https://github.com/leecade/react-native-swiper/issues/36), [#371](https://github.com/leecade/react-native-swiper/issues/371), [#410](https://github.com/leecade/react-native-swiper/issues/410), [#411](https://github.com/leecade/react-native-swiper/issues/411), [#422](https://github.com/leecade/react-native-swiper/issues/422), [#468](https://github.com/leecade/react-native-swiper/issues/468) Fix landscape orientation auto resize! (thanks [@ahmed3mar](https://github.com/ahmed3mar), [@timmywil](https://github.com/timmywil))\n  - Add containerStyle prop to customize the view container.\n\n- [1.5.5]\n  - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes\n\n* [1.5.4]\n\n  - Added easily accessible pagination point manipulation: use `dotColor` / `activeDotColor` and `dotStyle` / `activeDotStyle` (thanks [@denizs](https://github.com/denizs))\n  - Added scrollEnabled prop to documentation (thanks [@ibandominguez](https://github.com/ibandominguez))\n\n* [1.5.3]\n\n  - Add loadMinimalLoader prop to customize `<ActivityIndicator />` (thanks [@Exilz](https://github.com/Exilz))\n  - Disable autoplay timer when prop changes to false (thanks [@dizlexik](https://github.com/dizlexik))\n  - Special thanks to [@hypatiah](https://github.com/dizlexik) for fixed some grammatical errors in README\n\n* [1.5.2]\n  - Add yarn lock\n  - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [@nemophrost](https://github.com/nemophrost))\n  - The first webview always reloaded when injecting the rest of the children (thanks [@eosterberg](https://github.com/eosterberg))\n\n> see more: [CHANGELOG.md](CHANGELOG.md)\n\n## Show Cases\n\n> Try these cases by yourself very easy, Just open `examples/ios/swiper.xcodeproj` in Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases.\n\n### [examples/components/Basic](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic)\n\n![](http://i.imgur.com/zrsazAG.gif=300x)\n\n### [examples/components/Swiper](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Swiper)\n\n![](http://i.imgur.com/hP3f3oO.gif=300x)\n\n### [examples/components/SwiperNumber](https://github.com/leecade/react-native-swiper/blob/master/examples/components/SwiperNumber)\n\n![](http://i.imgur.com/0rqESVb.gif=300x)\n\n### [examples/components/Phone](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Phone)\n\n![](http://i.imgur.com/c1BhjZm.gif=300x)\n\n### [examples/components/LoadMinimal](https://github.com/leecade/react-native-swiper/blob/master/examples/components/LoadMinimal)\n\n![](http://i.imgur.com/LAOHbJA.gif=300x)\n\n## Getting Started\n\n- [Installation](#installation)\n- [Basic Usage](#basic-usage)\n- [Properties](#properties)\n  - [Basic](#basic)\n  - [Custom basic style & content](#custom-basic-style--content)\n  - [Pagination](#pagination)\n  - [Autoplay](#autoplay)\n  - [Control buttons](#control-buttons)\n  - [Props of Children](#props-of-children)\n  - [Basic props of `<ScrollView />`](#basic-props-of-scrollview-)\n  - [Supported ScrollResponder](#supported-scrollresponder)\n- [Examples](#examples)\n- [Development](#development)\n\n### Installation\n\n> v1.5.14\n\n```bash\n$ npm i react-native-swiper --save\n```\n\n> v1.6.0-dev\n\n```\nnpm i --save react-native-swiper@next\n# Linking @react-native-community/viewpager\nreact-native link @react-native-community/viewpager\n# Linking manually: https://github.com/react-native-community/react-native-viewpager#manual-installation\n```\n\n### Basic Usage\n\n- Install `react-native` first\n\n```bash\n$ npm i react-native-cli -g\n```\n\n- Initialization of a react-native project\n\n```bash\n$ react-native init myproject\n```\n\n- Then, edit `myproject/index.ios.js`, like this:\n\n```jsx\nimport React, { Component } from 'react'\nimport { AppRegistry, StyleSheet, Text, View } from 'react-native'\n\nimport Swiper from 'react-native-swiper'\n\nconst styles = StyleSheet.create({\n  wrapper: {},\n  slide1: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#9DD6EB'\n  },\n  slide2: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#97CAE5'\n  },\n  slide3: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#92BBD9'\n  },\n  text: {\n    color: '#fff',\n    fontSize: 30,\n    fontWeight: 'bold'\n  }\n})\n\nexport default class SwiperComponent extends Component {\n  render(){\n    return (\n      <Swiper style={styles.wrapper} showsButtons={true}>\n        <View style={styles.slide1}>\n          <Text style={styles.text}>Hello Swiper</Text>\n        </View>\n        <View style={styles.slide2}>\n          <Text style={styles.text}>Beautiful</Text>\n        </View>\n        <View style={styles.slide3}>\n          <Text style={styles.text}>And simple</Text>\n        </View>\n      </Swiper>\n    )\n  }\n}\n\nAppRegistry.registerComponent('myproject', () => SwiperComponent);\n```\n\n### Properties\n\n#### Basic\n\n| Prop           |     Default     |   Type   | Description                                                                                                 |\n| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |\n| horizontal     |      true       |  `bool`  | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column. |\n| loop           |      true       |  `bool`  | Set to `false` to disable continuous loop mode.                                                             |\n| index          |        0        | `number` | Index number of initial slide.                                                                              |\n| showsButtons   |      false      |  `bool`  | Set to `true` make control buttons visible.                                                                 |\n| autoplay       |      false      |  `bool`  | Set to `true` enable auto play mode.                                                                        |\n| onIndexChanged | (index) => null |  `func`  | Called with the new index when the user swiped                                                              |\n\n#### Custom basic style & content\n\n| Prop              |         Default         |   Type    | Description                                                                |\n| :---------------- | :---------------------: | :-------: | :------------------------------------------------------------------------- |\n| width             |            -            | `number`  | If no specify default enable fullscreen mode by `flex: 1`.                 |\n| height            |            -            | `number`  | If no specify default fullscreen mode by `flex: 1`.                        |\n| style             |          {...}          |  `style`  | See default style in source.                                               |\n| containerStyle    |          {...}          |  `style`  | See default container style in source.                                     |\n| loadMinimal       |          false          |  `bool`   | Only load current index slide , `loadMinimalSize` slides before and after. |\n| loadMinimalSize   |            1            | `number`  | see `loadMinimal`                                                          |\n| loadMinimalLoader | `<ActivityIndicator />` | `element` | Custom loader to display when slides aren't loaded                         |\n\n#### Pagination\n\n| Prop             |                                                                          Default                                                                          |    Type    | Description                                                                                                                                                                                   |\n| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| showsPagination  |                                                                           true                                                                            |   `bool`   | Set to `true` make pagination visible.                                                                                                                                                        |\n| paginationStyle  |                                                                           {...}                                                                           |  `style`   | Custom styles will merge with the default styles.                                                                                                                                             |\n| renderPagination |                                                                             -                                                                             | `function` | Complete control how to render pagination with three params (`index`, `total`, `context`) ref to `this.state.index` / `this.state.total` / `this`, For example: show numbers instead of dots. |\n| dot              | `<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 8, height: 8,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />` | `element`  | Allow custom the dot element.                                                                                                                                                                 |\n| activeDot        |   `<View style={{backgroundColor: '#007aff', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />`    | `element`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotStyle         |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotColor         |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotColor   |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotStyle   |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n\n#### Autoplay\n\n| Prop              | Default |   Type   | Description                                      |\n| :---------------- | :-----: | :------: | :----------------------------------------------- |\n| autoplay          |  true   |  `bool`  | Set to `true` enable auto play mode.             |\n| autoplayTimeout   |   2.5   | `number` | Delay between auto play transitions (in second). |\n| autoplayDirection |  true   |  `bool`  | Cycle direction control.                         |\n\n#### Control buttons\n\n| Prop               |                                                                                                   Default                                                                                                   |   Type    | Description                                 |\n| :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------: | :------------------------------------------ |\n| showsButtons       |                                                                                                    true                                                                                                     |  `bool`   | Set to `true` make control buttons visible. |\n| buttonWrapperStyle | `{backgroundColor: 'transparent', flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 10, justifyContent: 'space-between', alignItems: 'center'}` |  `style`  | Custom styles.                              |\n| nextButton         |                                                                                 `<Text style={styles.buttonText}>›</Text>`                                                                                  | `element` | Allow custom the next button.               |\n| prevButton         |                                                                                 `<Text style={styles.buttonText}>‹</Text>`                                                                                  | `element` | Allow custom the prev button.               |\n\n#### Props of Children\n\n| Prop  |               Default                |   Type    | Description                                                    |\n| :---- | :----------------------------------: | :-------: | :------------------------------------------------------------- |\n| style |                {...}                 |  `style`  | Custom styles will merge with the default styles.              |\n| title | {<Text numberOfLines={1}>...</Text>} | `element` | If this parameter is not specified, will not render the title. |\n\n#### Basic props of `<ScrollView />`\n\n| Prop                             | Default |  Type  | Description                                                                                                                                                                                                                                     |\n| :------------------------------- | :-----: | :----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| horizontal                       |  true   | `bool` | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column.                                                                                                                                     |\n| pagingEnabled                    |  true   | `bool` | If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.                                                                                                               |\n| showsHorizontalScrollIndicator   |  false  | `bool` | Set to `true` if you want to show horizontal scroll bar.                                                                                                                                                                                        |\n| showsVerticalScrollIndicator     |  false  | `bool` | Set to `true` if you want to show vertical scroll bar.                                                                                                                                                                                          |\n| bounces                          |  false  | `bool` | If `true`, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If `false`, it disables all bouncing even if the alwaysBounce\\* props are true. |\n| scrollsToTop                     |  false  | `bool` | If true, the scroll view scrolls to top when the status bar is tapped.                                                                                                                                                                          |\n| removeClippedSubviews            |  true   | `bool` | If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.                                                            |\n| automaticallyAdjustContentInsets |  false  | `bool` | Set to `true` if you need adjust content insets automation.                                                                                                                                                                                     |\n| scrollEnabled                    |  true   | `bool` | Enables/Disables swiping                                                                                                                                                                                                                        |\n\n> @see: http://facebook.github.io/react-native/docs/scrollview.html\n\n#### Supported ScrollResponder\n\n| Prop                |          Params           |    Type    | Description                                                 |\n| :------------------ | :-----------------------: | :--------: | :---------------------------------------------------------- |\n| onScrollBeginDrag   | `e` / `state` / `context` | `function` | When animation begins after letting up                      |\n| onMomentumScrollEnd | `e` / `state` / `context` | `function` | Makes no sense why this occurs first during bounce          |\n| onTouchStartCapture | `e` / `state` / `context` | `function` | Immediately after `onMomentumScrollEnd`                     |\n| onTouchStart        | `e` / `state` / `context` | `function` | Same, but bubble phase                                      |\n| onTouchEnd          | `e` / `state` / `context` | `function` | You could hold the touch start for a long time              |\n| onResponderRelease  | `e` / `state` / `context` | `function` | When lifting up - you could pause forever before \\* lifting |\n\n> Note: each ScrollResponder be injected with two params: `state` and `context`, you can get `state` and `context`(ref to swiper's `this`) from params, for example:\n\n```jsx\nvar swiper = React.createClass({\n  _onMomentumScrollEnd: function (e, state, context) {\n    console.log(state, context.state)\n  },\n  render: function() {\n    return (\n      <Swiper style={styles.wrapper}\n      onMomentumScrollEnd ={this._onMomentumScrollEnd}\n     ...\n      </Swiper>\n    )\n  }\n})\n```\n\n> More ScrollResponder info, see: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollResponder.js\n\n### Methods\n\n#### scrollBy(index, animated)\n\nScroll by relative index.\n\nParameters:\n\n| Name     |   Type   |   default   | Description  |\n| :------- | :------: | :---------: | :----------- |\n| index    | `number` | `undefined` | offset index |\n| animated |  `bool`  |   `true`    | offset index |\n\n### Examples\n\n```bash\n$ cd examples\n$ npm i\n$ react-native run-ios\n```\n\n> Quick start with [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/).\n\n### Development\n\n```bash\n$ cd examples\n$ npm i\n$ npm run dev\n$ react-native run-ios\n```\n\nThen launch simulator to preview. Note that you just need to edit the source file `src/index.js`, the change will auto sync to examples.\n\nAnd now that this project follows the [standard](https://github.com/feross/standard) code style, you'd better prepare it for IDE.\n\n## Contribution\n\n- [@leecade](mailto:leecade@163.com) The main author.\n- [@rajkissu](mailto:rajkissu@gmail.com) The secondary contributor.\n\n## Questions\n\nFeel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new)\n\n> Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥.\n","gitHead":"c90de7b40ff3315120cde23e64cac781615f6d41","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","commit":"npx git-cz","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.9.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"11.11.0","dependencies":{"prop-types":"^15.5.10","@react-native-community/viewpager":"^1.1.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^6.0.0","standard":"^10.0.3","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.6.0-nightly.0_1561559737854_0.7538696989009772","host":"s3://npm-registry-packages"}},"1.6.0-nightly.1":{"name":"react-native-swiper","version":"1.6.0-nightly.1","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.6.0-nightly.1","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"d240b18d66376ded241aa6a05164b9b81e305bdb","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.6.0-nightly.1.tgz","fileCount":13,"integrity":"sha512-5YVp1wTvkxTrvZGxhUhExQjJAAGwpCsVHYxLfbxRyNKhvXwksQ6zRYfjo2Y8STX85xmBKm1QKooYPU/FhvwHBA==","signatures":[{"sig":"MEQCIH592XFweOKocXRHtYZvwaYRzHkHv/sQ9/iajAffPp1MAiATdUtsaQv3IYHtDvUE6x7t/xtL07EEVx00S+QqMsk4vg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFeUPCRA9TVsSAnZWagAAfE8P/jt8lhaaeszAx7dQm6jG\nJA7enTcHN8AapsOWeyqaDxUk5qdeeyO5DzjFJcHGxdjwdi7p9UJnVHA5EIm1\nrhd1kT5kh0lDKXAGTmqx9zfyUe+E3VtustSYELnTKV25Vyl/nXg3oBukwb8q\njBf1SxubvMojDfBI0SjKSHGYRPhX6SsRPrBPZgQ8pGIlJuWFd6gBtD44Kxrl\nYI1pdzZdHEwke3TqmcE8ntTq5/jLe36Z997v0uJbrhNvaDN4+yrj6cuzI1ZO\n3I+S0K8w8wVpsAphlzANf8bVfQUAxV8GiZ7HDahq0C/DSP3pybz18/8Qo1ee\nue1PWWFt6ZucjwZrVgQVlxmJMFNsZF0OYUwXhK5l7nemWwmi4WsL2AqPLQoQ\nO+88HhN86/pdQ7L5tD5d2PDIfz0QEtOkBR/9I8ub1BbZ9qMTxiNbXx5r/BzU\nsSBVJH7YAeQfXs24gnrw2DvZIDRkdacHASg7QR561rtoRcWhe0qT34WYTAIK\nYhguO9OwQuE8PM4Y3uzuzJ+5ONjDmvgnrppCMuOV2B19tTVfTq7rc1ncYGol\nOReyn4pfMK3ma1a9uoMQboFLNsjvMmxSLogIZU4ICdDaUWXVGYwFPFt554jz\nocjCFeAGMo3idugXfHryhdbKmBelZyr6MktDk5UiqRQJp9CdATUWjC1BHHlG\no8pj\r\n=a293\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"readme":"<p align=\"center\">\n  <img alt=\"react-native-swiper\" src=\"http://i.imgur.com/P4cRUgD.png\" width=\"208\">\n</p>\n\n<p align=\"center\">\n  The best Swiper component for React Native.\n</p>\n\n<p align=\"center\">\n  <a href=\"http://standardjs.com/\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/v/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/dm/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/pulls?q=is%3Apr+is%3Aclosed\"><img alt=\"PR Stats\" src=\"https://img.shields.io/issuestats/i/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/issues?q=is%3Aissue+is%3Aclosed\"><img alt=\"Issue Stats\" src=\"https://img.shields.io/issuestats/p/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/leecade/react-native-swiper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\"><img alt=\"Join the chat\" src=\"https://badges.gitter.im/leecade/react-native-swiper.svg\"></a>\n</p>\n\n# react-native-swiper\n\n## Roadmap\n\n> see: [ROADMAP.md](ROADMAP.md)\n\n## Changelogs\n\n- **[1.6.0-dev]**\n  - ViewPagerAndroid: react-native => @react-native-community/viewpager\n  - add TypeScript typing of containerStyle\n- [1.5.6]\n\n  - Fix [#16](https://github.com/leecade/react-native-swiper/issues/16), [#36](https://github.com/leecade/react-native-swiper/issues/36), [#371](https://github.com/leecade/react-native-swiper/issues/371), [#410](https://github.com/leecade/react-native-swiper/issues/410), [#411](https://github.com/leecade/react-native-swiper/issues/411), [#422](https://github.com/leecade/react-native-swiper/issues/422), [#468](https://github.com/leecade/react-native-swiper/issues/468) Fix landscape orientation auto resize! (thanks [@ahmed3mar](https://github.com/ahmed3mar), [@timmywil](https://github.com/timmywil))\n  - Add containerStyle prop to customize the view container.\n\n- [1.5.5]\n  - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes\n\n* [1.5.4]\n\n  - Added easily accessible pagination point manipulation: use `dotColor` / `activeDotColor` and `dotStyle` / `activeDotStyle` (thanks [@denizs](https://github.com/denizs))\n  - Added scrollEnabled prop to documentation (thanks [@ibandominguez](https://github.com/ibandominguez))\n\n* [1.5.3]\n\n  - Add loadMinimalLoader prop to customize `<ActivityIndicator />` (thanks [@Exilz](https://github.com/Exilz))\n  - Disable autoplay timer when prop changes to false (thanks [@dizlexik](https://github.com/dizlexik))\n  - Special thanks to [@hypatiah](https://github.com/dizlexik) for fixed some grammatical errors in README\n\n* [1.5.2]\n  - Add yarn lock\n  - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [@nemophrost](https://github.com/nemophrost))\n  - The first webview always reloaded when injecting the rest of the children (thanks [@eosterberg](https://github.com/eosterberg))\n\n> see more: [CHANGELOG.md](CHANGELOG.md)\n\n## Show Cases\n\n> Try these cases by yourself very easy, Just open `examples/ios/swiper.xcodeproj` in Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases.\n\n### [examples/components/Basic](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic)\n\n![](http://i.imgur.com/zrsazAG.gif=300x)\n\n### [examples/components/Swiper](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Swiper)\n\n![](http://i.imgur.com/hP3f3oO.gif=300x)\n\n### [examples/components/SwiperNumber](https://github.com/leecade/react-native-swiper/blob/master/examples/components/SwiperNumber)\n\n![](http://i.imgur.com/0rqESVb.gif=300x)\n\n### [examples/components/Phone](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Phone)\n\n![](http://i.imgur.com/c1BhjZm.gif=300x)\n\n### [examples/components/LoadMinimal](https://github.com/leecade/react-native-swiper/blob/master/examples/components/LoadMinimal)\n\n![](http://i.imgur.com/LAOHbJA.gif=300x)\n\n## Getting Started\n\n- [Installation](#installation)\n- [Basic Usage](#basic-usage)\n- [Properties](#properties)\n  - [Basic](#basic)\n  - [Custom basic style & content](#custom-basic-style--content)\n  - [Pagination](#pagination)\n  - [Autoplay](#autoplay)\n  - [Control buttons](#control-buttons)\n  - [Props of Children](#props-of-children)\n  - [Basic props of `<ScrollView />`](#basic-props-of-scrollview-)\n  - [Supported ScrollResponder](#supported-scrollresponder)\n- [Examples](#examples)\n- [Development](#development)\n\n### Installation\n\n> v1.5.14\n\n```bash\n$ npm i react-native-swiper --save\n```\n\n> v1.6.0-dev\n\n```\nnpm i --save react-native-swiper@next\n# Linking @react-native-community/viewpager\nreact-native link @react-native-community/viewpager\n# Linking manually: https://github.com/react-native-community/react-native-viewpager#manual-installation\n```\n\n### Basic Usage\n\n- Install `react-native` first\n\n```bash\n$ npm i react-native-cli -g\n```\n\n- Initialization of a react-native project\n\n```bash\n$ react-native init myproject\n```\n\n- Then, edit `myproject/index.ios.js`, like this:\n\n```jsx\nimport React, { Component } from 'react'\nimport { AppRegistry, StyleSheet, Text, View } from 'react-native'\n\nimport Swiper from 'react-native-swiper'\n\nconst styles = StyleSheet.create({\n  wrapper: {},\n  slide1: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#9DD6EB'\n  },\n  slide2: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#97CAE5'\n  },\n  slide3: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#92BBD9'\n  },\n  text: {\n    color: '#fff',\n    fontSize: 30,\n    fontWeight: 'bold'\n  }\n})\n\nexport default class SwiperComponent extends Component {\n  render(){\n    return (\n      <Swiper style={styles.wrapper} showsButtons={true}>\n        <View style={styles.slide1}>\n          <Text style={styles.text}>Hello Swiper</Text>\n        </View>\n        <View style={styles.slide2}>\n          <Text style={styles.text}>Beautiful</Text>\n        </View>\n        <View style={styles.slide3}>\n          <Text style={styles.text}>And simple</Text>\n        </View>\n      </Swiper>\n    )\n  }\n}\n\nAppRegistry.registerComponent('myproject', () => SwiperComponent);\n```\n\n### Properties\n\n#### Basic\n\n| Prop           |     Default     |   Type   | Description                                                                                                 |\n| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |\n| horizontal     |      true       |  `bool`  | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column. |\n| loop           |      true       |  `bool`  | Set to `false` to disable continuous loop mode.                                                             |\n| index          |        0        | `number` | Index number of initial slide.                                                                              |\n| showsButtons   |      false      |  `bool`  | Set to `true` make control buttons visible.                                                                 |\n| autoplay       |      false      |  `bool`  | Set to `true` enable auto play mode.                                                                        |\n| onIndexChanged | (index) => null |  `func`  | Called with the new index when the user swiped                                                              |\n\n#### Custom basic style & content\n\n| Prop              |         Default         |   Type    | Description                                                                |\n| :---------------- | :---------------------: | :-------: | :------------------------------------------------------------------------- |\n| width             |            -            | `number`  | If no specify default enable fullscreen mode by `flex: 1`.                 |\n| height            |            -            | `number`  | If no specify default fullscreen mode by `flex: 1`.                        |\n| style             |          {...}          |  `style`  | See default style in source.                                               |\n| containerStyle    |          {...}          |  `style`  | See default container style in source.                                     |\n| loadMinimal       |          false          |  `bool`   | Only load current index slide , `loadMinimalSize` slides before and after. |\n| loadMinimalSize   |            1            | `number`  | see `loadMinimal`                                                          |\n| loadMinimalLoader | `<ActivityIndicator />` | `element` | Custom loader to display when slides aren't loaded                         |\n\n#### Pagination\n\n| Prop             |                                                                          Default                                                                          |    Type    | Description                                                                                                                                                                                   |\n| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| showsPagination  |                                                                           true                                                                            |   `bool`   | Set to `true` make pagination visible.                                                                                                                                                        |\n| paginationStyle  |                                                                           {...}                                                                           |  `style`   | Custom styles will merge with the default styles.                                                                                                                                             |\n| renderPagination |                                                                             -                                                                             | `function` | Complete control how to render pagination with three params (`index`, `total`, `context`) ref to `this.state.index` / `this.state.total` / `this`, For example: show numbers instead of dots. |\n| dot              | `<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 8, height: 8,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />` | `element`  | Allow custom the dot element.                                                                                                                                                                 |\n| activeDot        |   `<View style={{backgroundColor: '#007aff', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />`    | `element`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotStyle         |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotColor         |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotColor   |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotStyle   |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n\n#### Autoplay\n\n| Prop              | Default |   Type   | Description                                      |\n| :---------------- | :-----: | :------: | :----------------------------------------------- |\n| autoplay          |  true   |  `bool`  | Set to `true` enable auto play mode.             |\n| autoplayTimeout   |   2.5   | `number` | Delay between auto play transitions (in second). |\n| autoplayDirection |  true   |  `bool`  | Cycle direction control.                         |\n\n#### Control buttons\n\n| Prop               |                                                                                                   Default                                                                                                   |   Type    | Description                                 |\n| :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------: | :------------------------------------------ |\n| showsButtons       |                                                                                                    true                                                                                                     |  `bool`   | Set to `true` make control buttons visible. |\n| buttonWrapperStyle | `{backgroundColor: 'transparent', flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 10, justifyContent: 'space-between', alignItems: 'center'}` |  `style`  | Custom styles.                              |\n| nextButton         |                                                                                 `<Text style={styles.buttonText}>›</Text>`                                                                                  | `element` | Allow custom the next button.               |\n| prevButton         |                                                                                 `<Text style={styles.buttonText}>‹</Text>`                                                                                  | `element` | Allow custom the prev button.               |\n\n#### Props of Children\n\n| Prop  |               Default                |   Type    | Description                                                    |\n| :---- | :----------------------------------: | :-------: | :------------------------------------------------------------- |\n| style |                {...}                 |  `style`  | Custom styles will merge with the default styles.              |\n| title | {<Text numberOfLines={1}>...</Text>} | `element` | If this parameter is not specified, will not render the title. |\n\n#### Basic props of `<ScrollView />`\n\n| Prop                             | Default |  Type  | Description                                                                                                                                                                                                                                     |\n| :------------------------------- | :-----: | :----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| horizontal                       |  true   | `bool` | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column.                                                                                                                                     |\n| pagingEnabled                    |  true   | `bool` | If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.                                                                                                               |\n| showsHorizontalScrollIndicator   |  false  | `bool` | Set to `true` if you want to show horizontal scroll bar.                                                                                                                                                                                        |\n| showsVerticalScrollIndicator     |  false  | `bool` | Set to `true` if you want to show vertical scroll bar.                                                                                                                                                                                          |\n| bounces                          |  false  | `bool` | If `true`, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If `false`, it disables all bouncing even if the alwaysBounce\\* props are true. |\n| scrollsToTop                     |  false  | `bool` | If true, the scroll view scrolls to top when the status bar is tapped.                                                                                                                                                                          |\n| removeClippedSubviews            |  true   | `bool` | If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.                                                            |\n| automaticallyAdjustContentInsets |  false  | `bool` | Set to `true` if you need adjust content insets automation.                                                                                                                                                                                     |\n| scrollEnabled                    |  true   | `bool` | Enables/Disables swiping                                                                                                                                                                                                                        |\n\n> @see: http://facebook.github.io/react-native/docs/scrollview.html\n\n#### Supported ScrollResponder\n\n| Prop                |          Params           |    Type    | Description                                                 |\n| :------------------ | :-----------------------: | :--------: | :---------------------------------------------------------- |\n| onScrollBeginDrag   | `e` / `state` / `context` | `function` | When animation begins after letting up                      |\n| onMomentumScrollEnd | `e` / `state` / `context` | `function` | Makes no sense why this occurs first during bounce          |\n| onTouchStartCapture | `e` / `state` / `context` | `function` | Immediately after `onMomentumScrollEnd`                     |\n| onTouchStart        | `e` / `state` / `context` | `function` | Same, but bubble phase                                      |\n| onTouchEnd          | `e` / `state` / `context` | `function` | You could hold the touch start for a long time              |\n| onResponderRelease  | `e` / `state` / `context` | `function` | When lifting up - you could pause forever before \\* lifting |\n\n> Note: each ScrollResponder be injected with two params: `state` and `context`, you can get `state` and `context`(ref to swiper's `this`) from params, for example:\n\n```jsx\nvar swiper = React.createClass({\n  _onMomentumScrollEnd: function (e, state, context) {\n    console.log(state, context.state)\n  },\n  render: function() {\n    return (\n      <Swiper style={styles.wrapper}\n      onMomentumScrollEnd ={this._onMomentumScrollEnd}\n     ...\n      </Swiper>\n    )\n  }\n})\n```\n\n> More ScrollResponder info, see: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollResponder.js\n\n### Methods\n\n#### scrollBy(index, animated)\n\nScroll by relative index.\n\nParameters:\n\n| Name     |   Type   |   default   | Description  |\n| :------- | :------: | :---------: | :----------- |\n| index    | `number` | `undefined` | offset index |\n| animated |  `bool`  |   `true`    | offset index |\n\n### Examples\n\n```bash\n$ cd examples\n$ npm i\n$ react-native run-ios\n```\n\n> Quick start with [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/).\n\n### Development\n\n```bash\n$ cd examples\n$ npm i\n$ npm run dev\n$ react-native run-ios\n```\n\nThen launch simulator to preview. Note that you just need to edit the source file `src/index.js`, the change will auto sync to examples.\n\nAnd now that this project follows the [standard](https://github.com/feross/standard) code style, you'd better prepare it for IDE.\n\n## Contribution\n\n- [@leecade](mailto:leecade@163.com) The main author.\n- [@rajkissu](mailto:rajkissu@gmail.com) The secondary contributor.\n\n## Questions\n\nFeel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new)\n\n> Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥.\n","gitHead":"0676c844013316959ab00976d305f4220517798d","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","commit":"npx git-cz","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.9.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"11.11.0","dependencies":{"prop-types":"^15.5.10","@react-native-community/viewpager":"^1.1.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^7.1.0","standard":"^11.0.0","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.6.0-nightly.1_1561715982580_0.813426810362534","host":"s3://npm-registry-packages"}},"1.6.0-dev.1":{"name":"react-native-swiper","version":"1.6.0-dev.1","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.6.0-dev.1","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"e8fc394996129054743d157e2706f8de4be548ab","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.6.0-dev.1.tgz","fileCount":13,"integrity":"sha512-5+AsC6AlqjavSgPhVbFvtfY9b5mV7H8FA/BwqvzOLH23PUT2JdiVy7WyIhuQDRTVvTAgwsIf7ENLFJ6QIyrEIQ==","signatures":[{"sig":"MEQCIEM/Z2ioxSNJbCzG9earxq7QcPYIt7bN0AQ6aNxa0e07AiAvGekSeTjp6LwKAJt8wgWiLRvkuk+tbvH34ihI0ag8sA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGu4yCRA9TVsSAnZWagAAYYkP/21qQWsLiegJL7jz9dJt\nPW514OGP6UKe59OUvrCDcHLb2prWFC8LeBZVJJmSguMoOdLuvMcpt3wGwkCo\n2Ad0ZQj2HZjhObnhbY8yfSST53qgNba+jsHfXmgF9iykDlT+Wq94ERfafm6f\nf5gq72wItWRu2A281GER+sqMuI4kSJ3cBD1Of2wt/4t7cr0KzlWix6+YuZa3\nfvpdDJ/NMm/qDCB4V0nJB890mavPX9BvVz25DNFEQsxLuU4hxjPpJe5K3ljj\naqJ+n9dS9Jrc3mOUQrxAHncDj/G7eqlX30uqtU4VVNuh+aK0lnT8AlmL05LY\nugwkW8xdJgXlokbgdmPYJqbDUzmiH34rPynVCZT4y8xZvtuViCRES4AzkSKb\nTFYuMVpIPfUsnAlP2E15CovOGqsOLuhG6ilBqW2laca1dIDqOTQDeoFEKSM6\nle9EJ7ES+JlLgNZo9OLguMO11MVfoDlu69pxesy6Bljh/IW50qhyX6w6lbGt\niWtPf6IOmlBnbKDrcFhw5qtyfvXeVNcTb6mMxKaAZezvU/NwNLVvFqm9lkmW\nFLJOFSOLYOkFAVz6nt3T1yQs343E+xxSsCZg+uA5AgHPnB03yVl1ErCUOffk\n2SfothD05qJTlgcODtmpkzDfS3YyWCpZTjagc9nZBsrGY3WvVR3djPpLZ5um\nqTGl\r\n=XP0N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"readme":"<p align=\"center\">\n  <img alt=\"react-native-swiper\" src=\"http://i.imgur.com/P4cRUgD.png\" width=\"208\">\n</p>\n\n<p align=\"center\">\n  The best Swiper component for React Native.\n</p>\n\n<p align=\"center\">\n  <a href=\"http://standardjs.com/\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/v/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/dm/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/pulls?q=is%3Apr+is%3Aclosed\"><img alt=\"PR Stats\" src=\"https://img.shields.io/issuestats/i/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/issues?q=is%3Aissue+is%3Aclosed\"><img alt=\"Issue Stats\" src=\"https://img.shields.io/issuestats/p/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/leecade/react-native-swiper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\"><img alt=\"Join the chat\" src=\"https://badges.gitter.im/leecade/react-native-swiper.svg\"></a>\n</p>\n\n# react-native-swiper\n\n## Roadmap\n\n> see: [ROADMAP.md](ROADMAP.md)\n\n## Changelogs\n\n- **[1.6.0-dev]**\n  - ViewPagerAndroid: react-native => @react-native-community/viewpager\n  - add TypeScript typing of containerStyle\n- [1.5.6]\n\n  - Fix [#16](https://github.com/leecade/react-native-swiper/issues/16), [#36](https://github.com/leecade/react-native-swiper/issues/36), [#371](https://github.com/leecade/react-native-swiper/issues/371), [#410](https://github.com/leecade/react-native-swiper/issues/410), [#411](https://github.com/leecade/react-native-swiper/issues/411), [#422](https://github.com/leecade/react-native-swiper/issues/422), [#468](https://github.com/leecade/react-native-swiper/issues/468) Fix landscape orientation auto resize! (thanks [@ahmed3mar](https://github.com/ahmed3mar), [@timmywil](https://github.com/timmywil))\n  - Add containerStyle prop to customize the view container.\n\n- [1.5.5]\n  - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes\n\n* [1.5.4]\n\n  - Added easily accessible pagination point manipulation: use `dotColor` / `activeDotColor` and `dotStyle` / `activeDotStyle` (thanks [@denizs](https://github.com/denizs))\n  - Added scrollEnabled prop to documentation (thanks [@ibandominguez](https://github.com/ibandominguez))\n\n* [1.5.3]\n\n  - Add loadMinimalLoader prop to customize `<ActivityIndicator />` (thanks [@Exilz](https://github.com/Exilz))\n  - Disable autoplay timer when prop changes to false (thanks [@dizlexik](https://github.com/dizlexik))\n  - Special thanks to [@hypatiah](https://github.com/dizlexik) for fixed some grammatical errors in README\n\n* [1.5.2]\n  - Add yarn lock\n  - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [@nemophrost](https://github.com/nemophrost))\n  - The first webview always reloaded when injecting the rest of the children (thanks [@eosterberg](https://github.com/eosterberg))\n\n> see more: [CHANGELOG.md](CHANGELOG.md)\n\n## Show Cases\n\n> Try these cases by yourself very easy, Just open `examples/ios/swiper.xcodeproj` in Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases.\n\n### [examples/components/Basic](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic)\n\n![](http://i.imgur.com/zrsazAG.gif=300x)\n\n### [examples/components/Swiper](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Swiper)\n\n![](http://i.imgur.com/hP3f3oO.gif=300x)\n\n### [examples/components/SwiperNumber](https://github.com/leecade/react-native-swiper/blob/master/examples/components/SwiperNumber)\n\n![](http://i.imgur.com/0rqESVb.gif=300x)\n\n### [examples/components/Phone](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Phone)\n\n![](http://i.imgur.com/c1BhjZm.gif=300x)\n\n### [examples/components/LoadMinimal](https://github.com/leecade/react-native-swiper/blob/master/examples/components/LoadMinimal)\n\n![](http://i.imgur.com/LAOHbJA.gif=300x)\n\n## Getting Started\n\n- [Installation](#installation)\n- [Basic Usage](#basic-usage)\n- [Properties](#properties)\n  - [Basic](#basic)\n  - [Custom basic style & content](#custom-basic-style--content)\n  - [Pagination](#pagination)\n  - [Autoplay](#autoplay)\n  - [Control buttons](#control-buttons)\n  - [Props of Children](#props-of-children)\n  - [Basic props of `<ScrollView />`](#basic-props-of-scrollview-)\n  - [Supported ScrollResponder](#supported-scrollresponder)\n- [Examples](#examples)\n- [Development](#development)\n\n### Installation\n\n> v1.5.14\n\n```bash\n$ npm i react-native-swiper --save\n```\n\n> v1.6.0-dev\n\n```\nnpm i --save react-native-swiper@next\n# Linking @react-native-community/viewpager\nreact-native link @react-native-community/viewpager\n# Linking manually: https://github.com/react-native-community/react-native-viewpager#manual-installation\n```\n\n### Basic Usage\n\n- Install `react-native` first\n\n```bash\n$ npm i react-native-cli -g\n```\n\n- Initialization of a react-native project\n\n```bash\n$ react-native init myproject\n```\n\n- Then, edit `myproject/index.ios.js`, like this:\n\n```jsx\nimport React, { Component } from 'react'\nimport { AppRegistry, StyleSheet, Text, View } from 'react-native'\n\nimport Swiper from 'react-native-swiper'\n\nconst styles = StyleSheet.create({\n  wrapper: {},\n  slide1: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#9DD6EB'\n  },\n  slide2: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#97CAE5'\n  },\n  slide3: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#92BBD9'\n  },\n  text: {\n    color: '#fff',\n    fontSize: 30,\n    fontWeight: 'bold'\n  }\n})\n\nexport default class SwiperComponent extends Component {\n  render(){\n    return (\n      <Swiper style={styles.wrapper} showsButtons={true}>\n        <View style={styles.slide1}>\n          <Text style={styles.text}>Hello Swiper</Text>\n        </View>\n        <View style={styles.slide2}>\n          <Text style={styles.text}>Beautiful</Text>\n        </View>\n        <View style={styles.slide3}>\n          <Text style={styles.text}>And simple</Text>\n        </View>\n      </Swiper>\n    )\n  }\n}\n\nAppRegistry.registerComponent('myproject', () => SwiperComponent);\n```\n\n### Properties\n\n#### Basic\n\n| Prop           |     Default     |   Type   | Description                                                                                                 |\n| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |\n| horizontal     |      true       |  `bool`  | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column. |\n| loop           |      true       |  `bool`  | Set to `false` to disable continuous loop mode.                                                             |\n| index          |        0        | `number` | Index number of initial slide.                                                                              |\n| showsButtons   |      false      |  `bool`  | Set to `true` make control buttons visible.                                                                 |\n| autoplay       |      false      |  `bool`  | Set to `true` enable auto play mode.                                                                        |\n| onIndexChanged | (index) => null |  `func`  | Called with the new index when the user swiped                                                              |\n\n#### Custom basic style & content\n\n| Prop              |         Default         |   Type    | Description                                                                |\n| :---------------- | :---------------------: | :-------: | :------------------------------------------------------------------------- |\n| width             |            -            | `number`  | If no specify default enable fullscreen mode by `flex: 1`.                 |\n| height            |            -            | `number`  | If no specify default fullscreen mode by `flex: 1`.                        |\n| style             |          {...}          |  `style`  | See default style in source.                                               |\n| containerStyle    |          {...}          |  `style`  | See default container style in source.                                     |\n| loadMinimal       |          false          |  `bool`   | Only load current index slide , `loadMinimalSize` slides before and after. |\n| loadMinimalSize   |            1            | `number`  | see `loadMinimal`                                                          |\n| loadMinimalLoader | `<ActivityIndicator />` | `element` | Custom loader to display when slides aren't loaded                         |\n\n#### Pagination\n\n| Prop             |                                                                          Default                                                                          |    Type    | Description                                                                                                                                                                                   |\n| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| showsPagination  |                                                                           true                                                                            |   `bool`   | Set to `true` make pagination visible.                                                                                                                                                        |\n| paginationStyle  |                                                                           {...}                                                                           |  `style`   | Custom styles will merge with the default styles.                                                                                                                                             |\n| renderPagination |                                                                             -                                                                             | `function` | Complete control how to render pagination with three params (`index`, `total`, `context`) ref to `this.state.index` / `this.state.total` / `this`, For example: show numbers instead of dots. |\n| dot              | `<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 8, height: 8,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />` | `element`  | Allow custom the dot element.                                                                                                                                                                 |\n| activeDot        |   `<View style={{backgroundColor: '#007aff', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />`    | `element`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotStyle         |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotColor         |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotColor   |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotStyle   |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n\n#### Autoplay\n\n| Prop              | Default |   Type   | Description                                      |\n| :---------------- | :-----: | :------: | :----------------------------------------------- |\n| autoplay          |  true   |  `bool`  | Set to `true` enable auto play mode.             |\n| autoplayTimeout   |   2.5   | `number` | Delay between auto play transitions (in second). |\n| autoplayDirection |  true   |  `bool`  | Cycle direction control.                         |\n\n#### Control buttons\n\n| Prop               |                                                                                                   Default                                                                                                   |   Type    | Description                                 |\n| :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------: | :------------------------------------------ |\n| showsButtons       |                                                                                                    true                                                                                                     |  `bool`   | Set to `true` make control buttons visible. |\n| buttonWrapperStyle | `{backgroundColor: 'transparent', flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 10, justifyContent: 'space-between', alignItems: 'center'}` |  `style`  | Custom styles.                              |\n| nextButton         |                                                                                 `<Text style={styles.buttonText}>›</Text>`                                                                                  | `element` | Allow custom the next button.               |\n| prevButton         |                                                                                 `<Text style={styles.buttonText}>‹</Text>`                                                                                  | `element` | Allow custom the prev button.               |\n\n#### Props of Children\n\n| Prop  |               Default                |   Type    | Description                                                    |\n| :---- | :----------------------------------: | :-------: | :------------------------------------------------------------- |\n| style |                {...}                 |  `style`  | Custom styles will merge with the default styles.              |\n| title | {<Text numberOfLines={1}>...</Text>} | `element` | If this parameter is not specified, will not render the title. |\n\n#### Basic props of `<ScrollView />`\n\n| Prop                             | Default |  Type  | Description                                                                                                                                                                                                                                     |\n| :------------------------------- | :-----: | :----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| horizontal                       |  true   | `bool` | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column.                                                                                                                                     |\n| pagingEnabled                    |  true   | `bool` | If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.                                                                                                               |\n| showsHorizontalScrollIndicator   |  false  | `bool` | Set to `true` if you want to show horizontal scroll bar.                                                                                                                                                                                        |\n| showsVerticalScrollIndicator     |  false  | `bool` | Set to `true` if you want to show vertical scroll bar.                                                                                                                                                                                          |\n| bounces                          |  false  | `bool` | If `true`, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If `false`, it disables all bouncing even if the alwaysBounce\\* props are true. |\n| scrollsToTop                     |  false  | `bool` | If true, the scroll view scrolls to top when the status bar is tapped.                                                                                                                                                                          |\n| removeClippedSubviews            |  true   | `bool` | If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.                                                            |\n| automaticallyAdjustContentInsets |  false  | `bool` | Set to `true` if you need adjust content insets automation.                                                                                                                                                                                     |\n| scrollEnabled                    |  true   | `bool` | Enables/Disables swiping                                                                                                                                                                                                                        |\n\n> @see: http://facebook.github.io/react-native/docs/scrollview.html\n\n#### Supported ScrollResponder\n\n| Prop                |          Params           |    Type    | Description                                                 |\n| :------------------ | :-----------------------: | :--------: | :---------------------------------------------------------- |\n| onScrollBeginDrag   | `e` / `state` / `context` | `function` | When animation begins after letting up                      |\n| onMomentumScrollEnd | `e` / `state` / `context` | `function` | Makes no sense why this occurs first during bounce          |\n| onTouchStartCapture | `e` / `state` / `context` | `function` | Immediately after `onMomentumScrollEnd`                     |\n| onTouchStart        | `e` / `state` / `context` | `function` | Same, but bubble phase                                      |\n| onTouchEnd          | `e` / `state` / `context` | `function` | You could hold the touch start for a long time              |\n| onResponderRelease  | `e` / `state` / `context` | `function` | When lifting up - you could pause forever before \\* lifting |\n\n> Note: each ScrollResponder be injected with two params: `state` and `context`, you can get `state` and `context`(ref to swiper's `this`) from params, for example:\n\n```jsx\nvar swiper = React.createClass({\n  _onMomentumScrollEnd: function (e, state, context) {\n    console.log(state, context.state)\n  },\n  render: function() {\n    return (\n      <Swiper style={styles.wrapper}\n      onMomentumScrollEnd ={this._onMomentumScrollEnd}\n     ...\n      </Swiper>\n    )\n  }\n})\n```\n\n> More ScrollResponder info, see: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollResponder.js\n\n### Methods\n\n#### scrollBy(index, animated)\n\nScroll by relative index.\n\nParameters:\n\n| Name     |   Type   |   default   | Description  |\n| :------- | :------: | :---------: | :----------- |\n| index    | `number` | `undefined` | offset index |\n| animated |  `bool`  |   `true`    | offset index |\n\n### Examples\n\n```bash\n$ cd examples\n$ npm i\n$ react-native run-ios\n```\n\n> Quick start with [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/).\n\n### Development\n\n```bash\n$ cd examples\n$ npm i\n$ npm run dev\n$ react-native run-ios\n```\n\nThen launch simulator to preview. Note that you just need to edit the source file `src/index.js`, the change will auto sync to examples.\n\nAnd now that this project follows the [standard](https://github.com/feross/standard) code style, you'd better prepare it for IDE.\n\n## Contribution\n\n- [@leecade](mailto:leecade@163.com) The main author.\n- [@rajkissu](mailto:rajkissu@gmail.com) The secondary contributor.\n\n## Questions\n\nFeel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new)\n\n> Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥.\n","gitHead":"5d49971cc3f0b4e5ea94371b0e9bd534a97c7ec5","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","commit":"npx git-cz","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.9.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"11.11.0","dependencies":{"prop-types":"^15.5.10","@react-native-community/viewpager":"^1.1.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^7.1.0","standard":"^11.0.0","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.6.0-dev.1_1562046001820_0.6303909542493564","host":"s3://npm-registry-packages"}},"1.6.0-nightly.2":{"name":"react-native-swiper","version":"1.6.0-nightly.2","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.6.0-nightly.2","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"2a76a67f5065e239d1cd9e2e3853c178b6c1408e","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.6.0-nightly.2.tgz","fileCount":13,"integrity":"sha512-kvMwsc3y34fv5fFrags4NcbM0e+HomhIz+oMEHHU9TdED7oMREWt95/vkzw/GNyoGGi/zj6Hirg2Gm08POTwbw==","signatures":[{"sig":"MEYCIQCkzAZbmmyVSFIFsWSFzWkBDjCVVVHtCh1sOuhnfEdw7QIhAPy1LxbK6agKKyxqGCRIuLbV+VOerfUxh26P4g6QBZ2p","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJEZ9CRA9TVsSAnZWagAA8/cP/0DCtRWwZVeHfKBwnbT1\nI4J/vwv4aMH5ml+/rgDsIfYiCBTwZuK3Mgor9Qrz7tiH+AQl+BvbvlNvZ82p\nJXX5b/aIN23Kr1lV+IOwCCXHDHGBASgLgXSN3GA8KEs7f3IUN/K56kfW16kL\nOgCWkFbX/Aorx60rPHkofgEnPhc5qJmRzHZbber9bDB+QNdHD5bP2kLYHO0X\nZFEkLtaAMoE81DnhKjlBcj27taknsh5GwJeDQKV4/zD5SlRJlyHPHKuUa6Cl\ni96vEkMt5glrK6xo+fwYoh8jknY4ZsPRcLqVaAMVTcRDHaAJhjBG3EGBC4BE\nS0HaEW/PV+ThtaUP/X/xIuvZRfn1Q2NzoAE2oEaHaWuI9Gas/ZugSnBIfYJW\nhGa90F+5m3reKSY7iY71vwY6ZEUyT9XzPis22awq1U1hRLinli03X+QKmgJI\n+qdu2uIsPt7ppVn0fhgOOgtOENeUf8W0XfSHnPByvCtTuJECjHE5KX7f7Ytl\nmZL+jxasYFHTKWc9jeqzfaGozokWHIzgMx9FR1LeqvBYAp8huzmKjfYw0s1f\ntQwjpuQWoOLrKgpajQsuHk3LfqNF/4yw6rSk5wDicq8u1UXI7Wn/OL8avXuR\nFb54z1gdbV31Id4vDwJpa7yvZz5BJAiNtuxY84fLGaAh1nsP5TEjo/bC4k4A\ni8y4\r\n=RyH0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"readme":"<p align=\"center\">\n  <img alt=\"react-native-swiper\" src=\"http://i.imgur.com/P4cRUgD.png\" width=\"208\">\n</p>\n\n<p align=\"center\">\n  The best Swiper component for React Native.\n</p>\n\n<p align=\"center\">\n  <a href=\"http://standardjs.com/\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/v/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/dm/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/pulls?q=is%3Apr+is%3Aclosed\"><img alt=\"PR Stats\" src=\"https://img.shields.io/issuestats/i/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/issues?q=is%3Aissue+is%3Aclosed\"><img alt=\"Issue Stats\" src=\"https://img.shields.io/issuestats/p/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/leecade/react-native-swiper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\"><img alt=\"Join the chat\" src=\"https://badges.gitter.im/leecade/react-native-swiper.svg\"></a>\n</p>\n\n# react-native-swiper\n\n## Roadmap\n\n> see: [ROADMAP.md](ROADMAP.md)\n\n## Changelogs\n\n- **[1.6.0-dev]**\n  - ViewPagerAndroid: react-native => @react-native-community/viewpager\n  - add TypeScript typing of containerStyle\n- [1.5.6]\n\n  - Fix [#16](https://github.com/leecade/react-native-swiper/issues/16), [#36](https://github.com/leecade/react-native-swiper/issues/36), [#371](https://github.com/leecade/react-native-swiper/issues/371), [#410](https://github.com/leecade/react-native-swiper/issues/410), [#411](https://github.com/leecade/react-native-swiper/issues/411), [#422](https://github.com/leecade/react-native-swiper/issues/422), [#468](https://github.com/leecade/react-native-swiper/issues/468) Fix landscape orientation auto resize! (thanks [@ahmed3mar](https://github.com/ahmed3mar), [@timmywil](https://github.com/timmywil))\n  - Add containerStyle prop to customize the view container.\n\n- [1.5.5]\n  - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes\n\n* [1.5.4]\n\n  - Added easily accessible pagination point manipulation: use `dotColor` / `activeDotColor` and `dotStyle` / `activeDotStyle` (thanks [@denizs](https://github.com/denizs))\n  - Added scrollEnabled prop to documentation (thanks [@ibandominguez](https://github.com/ibandominguez))\n\n* [1.5.3]\n\n  - Add loadMinimalLoader prop to customize `<ActivityIndicator />` (thanks [@Exilz](https://github.com/Exilz))\n  - Disable autoplay timer when prop changes to false (thanks [@dizlexik](https://github.com/dizlexik))\n  - Special thanks to [@hypatiah](https://github.com/dizlexik) for fixed some grammatical errors in README\n\n* [1.5.2]\n  - Add yarn lock\n  - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [@nemophrost](https://github.com/nemophrost))\n  - The first webview always reloaded when injecting the rest of the children (thanks [@eosterberg](https://github.com/eosterberg))\n\n> see more: [CHANGELOG.md](CHANGELOG.md)\n\n## Show Cases\n\n> Try these cases by yourself very easy, Just open `examples/ios/swiper.xcodeproj` in Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases.\n\n### [examples/components/Basic](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic)\n\n![](http://i.imgur.com/zrsazAG.gif=300x)\n\n### [examples/components/Swiper](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Swiper)\n\n![](http://i.imgur.com/hP3f3oO.gif=300x)\n\n### [examples/components/SwiperNumber](https://github.com/leecade/react-native-swiper/blob/master/examples/components/SwiperNumber)\n\n![](http://i.imgur.com/0rqESVb.gif=300x)\n\n### [examples/components/Phone](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Phone)\n\n![](http://i.imgur.com/c1BhjZm.gif=300x)\n\n### [examples/components/LoadMinimal](https://github.com/leecade/react-native-swiper/blob/master/examples/components/LoadMinimal)\n\n![](http://i.imgur.com/LAOHbJA.gif=300x)\n\n## Getting Started\n\n- [Installation](#installation)\n- [Basic Usage](#basic-usage)\n- [Properties](#properties)\n  - [Basic](#basic)\n  - [Custom basic style & content](#custom-basic-style--content)\n  - [Pagination](#pagination)\n  - [Autoplay](#autoplay)\n  - [Control buttons](#control-buttons)\n  - [Props of Children](#props-of-children)\n  - [Basic props of `<ScrollView />`](#basic-props-of-scrollview-)\n  - [Supported ScrollResponder](#supported-scrollresponder)\n- [Examples](#examples)\n- [Development](#development)\n\n### Installation\n\n> v1.5.14\n\n```bash\n$ npm i react-native-swiper --save\n```\n\n> v1.6.0-dev\n\n```\nnpm i --save react-native-swiper@next\n# Linking @react-native-community/viewpager\nreact-native link @react-native-community/viewpager\n# Linking manually: https://github.com/react-native-community/react-native-viewpager#manual-installation\n```\n\n### Basic Usage\n\n- Install `react-native` first\n\n```bash\n$ npm i react-native-cli -g\n```\n\n- Initialization of a react-native project\n\n```bash\n$ react-native init myproject\n```\n\n- Then, edit `myproject/index.ios.js`, like this:\n\n```jsx\nimport React, { Component } from 'react'\nimport { AppRegistry, StyleSheet, Text, View } from 'react-native'\n\nimport Swiper from 'react-native-swiper'\n\nconst styles = StyleSheet.create({\n  wrapper: {},\n  slide1: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#9DD6EB'\n  },\n  slide2: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#97CAE5'\n  },\n  slide3: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#92BBD9'\n  },\n  text: {\n    color: '#fff',\n    fontSize: 30,\n    fontWeight: 'bold'\n  }\n})\n\nexport default class SwiperComponent extends Component {\n  render(){\n    return (\n      <Swiper style={styles.wrapper} showsButtons={true}>\n        <View style={styles.slide1}>\n          <Text style={styles.text}>Hello Swiper</Text>\n        </View>\n        <View style={styles.slide2}>\n          <Text style={styles.text}>Beautiful</Text>\n        </View>\n        <View style={styles.slide3}>\n          <Text style={styles.text}>And simple</Text>\n        </View>\n      </Swiper>\n    )\n  }\n}\n\nAppRegistry.registerComponent('myproject', () => SwiperComponent);\n```\n\n### Properties\n\n#### Basic\n\n| Prop           |     Default     |   Type   | Description                                                                                                 |\n| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |\n| horizontal     |      true       |  `bool`  | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column. |\n| loop           |      true       |  `bool`  | Set to `false` to disable continuous loop mode.                                                             |\n| index          |        0        | `number` | Index number of initial slide.                                                                              |\n| showsButtons   |      false      |  `bool`  | Set to `true` make control buttons visible.                                                                 |\n| autoplay       |      false      |  `bool`  | Set to `true` enable auto play mode.                                                                        |\n| onIndexChanged | (index) => null |  `func`  | Called with the new index when the user swiped                                                              |\n\n#### Custom basic style & content\n\n| Prop              |         Default         |   Type    | Description                                                                |\n| :---------------- | :---------------------: | :-------: | :------------------------------------------------------------------------- |\n| width             |            -            | `number`  | If no specify default enable fullscreen mode by `flex: 1`.                 |\n| height            |            -            | `number`  | If no specify default fullscreen mode by `flex: 1`.                        |\n| style             |          {...}          |  `style`  | See default style in source.                                               |\n| containerStyle    |          {...}          |  `style`  | See default container style in source.                                     |\n| loadMinimal       |          false          |  `bool`   | Only load current index slide , `loadMinimalSize` slides before and after. |\n| loadMinimalSize   |            1            | `number`  | see `loadMinimal`                                                          |\n| loadMinimalLoader | `<ActivityIndicator />` | `element` | Custom loader to display when slides aren't loaded                         |\n\n#### Pagination\n\n| Prop             |                                                                          Default                                                                          |    Type    | Description                                                                                                                                                                                   |\n| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| showsPagination  |                                                                           true                                                                            |   `bool`   | Set to `true` make pagination visible.                                                                                                                                                        |\n| paginationStyle  |                                                                           {...}                                                                           |  `style`   | Custom styles will merge with the default styles.                                                                                                                                             |\n| renderPagination |                                                                             -                                                                             | `function` | Complete control how to render pagination with three params (`index`, `total`, `context`) ref to `this.state.index` / `this.state.total` / `this`, For example: show numbers instead of dots. |\n| dot              | `<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 8, height: 8,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />` | `element`  | Allow custom the dot element.                                                                                                                                                                 |\n| activeDot        |   `<View style={{backgroundColor: '#007aff', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />`    | `element`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotStyle         |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotColor         |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotColor   |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotStyle   |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n\n#### Autoplay\n\n| Prop              | Default |   Type   | Description                                      |\n| :---------------- | :-----: | :------: | :----------------------------------------------- |\n| autoplay          |  true   |  `bool`  | Set to `true` enable auto play mode.             |\n| autoplayTimeout   |   2.5   | `number` | Delay between auto play transitions (in second). |\n| autoplayDirection |  true   |  `bool`  | Cycle direction control.                         |\n\n#### Control buttons\n\n| Prop               |                                                                                                   Default                                                                                                   |   Type    | Description                                 |\n| :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------: | :------------------------------------------ |\n| showsButtons       |                                                                                                    true                                                                                                     |  `bool`   | Set to `true` make control buttons visible. |\n| buttonWrapperStyle | `{backgroundColor: 'transparent', flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 10, justifyContent: 'space-between', alignItems: 'center'}` |  `style`  | Custom styles.                              |\n| nextButton         |                                                                                 `<Text style={styles.buttonText}>›</Text>`                                                                                  | `element` | Allow custom the next button.               |\n| prevButton         |                                                                                 `<Text style={styles.buttonText}>‹</Text>`                                                                                  | `element` | Allow custom the prev button.               |\n\n#### Props of Children\n\n| Prop  |               Default                |   Type    | Description                                                    |\n| :---- | :----------------------------------: | :-------: | :------------------------------------------------------------- |\n| style |                {...}                 |  `style`  | Custom styles will merge with the default styles.              |\n| title | {<Text numberOfLines={1}>...</Text>} | `element` | If this parameter is not specified, will not render the title. |\n\n#### Basic props of `<ScrollView />`\n\n| Prop                             | Default |  Type  | Description                                                                                                                                                                                                                                     |\n| :------------------------------- | :-----: | :----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| horizontal                       |  true   | `bool` | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column.                                                                                                                                     |\n| pagingEnabled                    |  true   | `bool` | If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.                                                                                                               |\n| showsHorizontalScrollIndicator   |  false  | `bool` | Set to `true` if you want to show horizontal scroll bar.                                                                                                                                                                                        |\n| showsVerticalScrollIndicator     |  false  | `bool` | Set to `true` if you want to show vertical scroll bar.                                                                                                                                                                                          |\n| bounces                          |  false  | `bool` | If `true`, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If `false`, it disables all bouncing even if the alwaysBounce\\* props are true. |\n| scrollsToTop                     |  false  | `bool` | If true, the scroll view scrolls to top when the status bar is tapped.                                                                                                                                                                          |\n| removeClippedSubviews            |  true   | `bool` | If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.                                                            |\n| automaticallyAdjustContentInsets |  false  | `bool` | Set to `true` if you need adjust content insets automation.                                                                                                                                                                                     |\n| scrollEnabled                    |  true   | `bool` | Enables/Disables swiping                                                                                                                                                                                                                        |\n\n> @see: http://facebook.github.io/react-native/docs/scrollview.html\n\n#### Supported ScrollResponder\n\n| Prop                |          Params           |    Type    | Description                                                 |\n| :------------------ | :-----------------------: | :--------: | :---------------------------------------------------------- |\n| onScrollBeginDrag   | `e` / `state` / `context` | `function` | When animation begins after letting up                      |\n| onMomentumScrollEnd | `e` / `state` / `context` | `function` | Makes no sense why this occurs first during bounce          |\n| onTouchStartCapture | `e` / `state` / `context` | `function` | Immediately after `onMomentumScrollEnd`                     |\n| onTouchStart        | `e` / `state` / `context` | `function` | Same, but bubble phase                                      |\n| onTouchEnd          | `e` / `state` / `context` | `function` | You could hold the touch start for a long time              |\n| onResponderRelease  | `e` / `state` / `context` | `function` | When lifting up - you could pause forever before \\* lifting |\n\n> Note: each ScrollResponder be injected with two params: `state` and `context`, you can get `state` and `context`(ref to swiper's `this`) from params, for example:\n\n```jsx\nvar swiper = React.createClass({\n  _onMomentumScrollEnd: function (e, state, context) {\n    console.log(state, context.state)\n  },\n  render: function() {\n    return (\n      <Swiper style={styles.wrapper}\n      onMomentumScrollEnd ={this._onMomentumScrollEnd}\n     ...\n      </Swiper>\n    )\n  }\n})\n```\n\n> More ScrollResponder info, see: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollResponder.js\n\n### Methods\n\n#### scrollBy(index, animated)\n\nScroll by relative index.\n\nParameters:\n\n| Name     |   Type   |   default   | Description  |\n| :------- | :------: | :---------: | :----------- |\n| index    | `number` | `undefined` | offset index |\n| animated |  `bool`  |   `true`    | offset index |\n\n### Examples\n\n```bash\n$ cd examples\n$ npm i\n$ react-native run-ios\n```\n\n> Quick start with [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/).\n\n### Development\n\n```bash\n$ cd examples\n$ npm i\n$ npm run dev\n$ react-native run-ios\n```\n\nThen launch simulator to preview. Note that you just need to edit the source file `src/index.js`, the change will auto sync to examples.\n\nAnd now that this project follows the [standard](https://github.com/feross/standard) code style, you'd better prepare it for IDE.\n\n## Contribution\n\n- [@leecade](mailto:leecade@163.com) The main author.\n- [@rajkissu](mailto:rajkissu@gmail.com) The secondary contributor.\n\n## Questions\n\nFeel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new)\n\n> Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥.\n","gitHead":"8d5eab6d4204ea7931867d296ca34ed39343ba76","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","commit":"npx git-cz","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.9.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"11.11.0","dependencies":{"prop-types":"^15.5.10","@react-native-community/viewpager":"^1.1.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^7.1.0","standard":"^11.0.0","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.6.0-nightly.2_1562658429142_0.9071379516264853","host":"s3://npm-registry-packages"}},"1.6.0-nightly.3":{"name":"react-native-swiper","version":"1.6.0-nightly.3","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.6.0-nightly.3","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"02ff0b77f821aa18c3befb61e452c8a42648ecc6","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.6.0-nightly.3.tgz","fileCount":13,"integrity":"sha512-+NG/ECgkukfwfDvhzgzAZsKt3B4hN+gwuyK9mRCfsCELWNNsbdjwSbB2eTCAh/3MMR/Aj+VobitFuZuKtZ5RVA==","signatures":[{"sig":"MEUCIQCc9lFIs5IekvcIuPGktnz7E2/tvDg67ajac3dOMSWQ1AIgFwDq6H8GF7HXqdsxHYuk4rO5OTVqiMJ8tZnqVNDsbgI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLCrKCRA9TVsSAnZWagAAwGsQAKM8EIZdZlhoEoKQ6VEE\noSM5MLX7+NTl+VwxIXYdRLSf/MjUWTNHDW+e6dvyLqxfgENxMb9ndUJb00ke\nJUJ8sjcLAfj75RORpw/HI9h1RW7H56LPnVU0+fZY51VlS1dWQPAHu0i5DzQM\nSVWXpFKBeU9PAuMGu37sQAzLdzMcvLiIKkMMTrlJPxH2odrY5fzQoh0GnGOw\nJ9XZ2fH6G2cXw0L5BNTSxtN4GQbn3EkMdllb24NCd9TOjkBsQ8e1XcKcVeGZ\nDsRSyldnTk4xm4zRtyOm36WXNuA0hirP9AaFfJ41LniO/wGm7EvLcHRg+MR+\nK3eT4p92nfNn18ibjRJBjc5WKdwJ8VbkgYm3qXBNBlPQ2bPYST0igQ+bP08r\n5HIgqz4OVnzS/fD1LsxKv42QxpzMXNsjiFl4o2LRxT1QJM0wOvnSOggpZ/Iv\neoO2gBYiqBYiZ51ezs+fSuZl8T6IhBQENGi9v7rApYhVOiTk4bHBox1k2WTl\nqHCjfmqyZFEq6HUOVR3rpi6VVso8ME6rO3u0jKHNbyn7sb5Yb95LfeeS38E6\nf5QOqyqr3eBlzu6pVvH/BdxGmNb6DCq+nFDBL4H8f8oMVFeiSB3nxagPooer\nAJz0KKUrA1QqoNbGIl7rmHwHBiXT02Oxpf/MNPFkNOsqXyAaZdsZ16j+HeEY\nYMLG\r\n=D+hV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"readme":"<p align=\"center\">\n  <img alt=\"react-native-swiper\" src=\"http://i.imgur.com/P4cRUgD.png\" width=\"208\">\n</p>\n\n<p align=\"center\">\n  The best Swiper component for React Native.\n</p>\n\n<p align=\"center\">\n  <a href=\"http://standardjs.com/\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/v/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/dm/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/pulls?q=is%3Apr+is%3Aclosed\"><img alt=\"PR Stats\" src=\"https://img.shields.io/issuestats/i/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/issues?q=is%3Aissue+is%3Aclosed\"><img alt=\"Issue Stats\" src=\"https://img.shields.io/issuestats/p/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/leecade/react-native-swiper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\"><img alt=\"Join the chat\" src=\"https://badges.gitter.im/leecade/react-native-swiper.svg\"></a>\n</p>\n\n# react-native-swiper\n\n## Roadmap\n\n> see: [ROADMAP.md](ROADMAP.md)\n\n## Changelogs\n\n- **[1.6.0-nightly]**\n  - Dependency\n    - Remove ViewPagerAndroid, use ScrollView #1009\n  - TypeScript\n    - correct the wrong types #1000\n    - Add missing scrollBy TypeScript definition #931\n  - New Feature\n    - add scrollTo #831\n    - Added prop to disable the PrevButton #749\n    - Optionally render page #1004\n  - Bug Fix\n    - ES6 and CommonJS compatibility #717\n    - Solves the issue of state messing up when parent component calls setState #939\n    - replay when autoplay is setted to true #1002\n\n* [1.5.6]\n\n  - Fix [#16](https://github.com/leecade/react-native-swiper/issues/16), [#36](https://github.com/leecade/react-native-swiper/issues/36), [#371](https://github.com/leecade/react-native-swiper/issues/371), [#410](https://github.com/leecade/react-native-swiper/issues/410), [#411](https://github.com/leecade/react-native-swiper/issues/411), [#422](https://github.com/leecade/react-native-swiper/issues/422), [#468](https://github.com/leecade/react-native-swiper/issues/468) Fix landscape orientation auto resize! (thanks [@ahmed3mar](https://github.com/ahmed3mar), [@timmywil](https://github.com/timmywil))\n  - Add containerStyle prop to customize the view container.\n\n* [1.5.5]\n  - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes\n\n- [1.5.4]\n\n  - Added easily accessible pagination point manipulation: use `dotColor` / `activeDotColor` and `dotStyle` / `activeDotStyle` (thanks [@denizs](https://github.com/denizs))\n  - Added scrollEnabled prop to documentation (thanks [@ibandominguez](https://github.com/ibandominguez))\n\n- [1.5.3]\n\n  - Add loadMinimalLoader prop to customize `<ActivityIndicator />` (thanks [@Exilz](https://github.com/Exilz))\n  - Disable autoplay timer when prop changes to false (thanks [@dizlexik](https://github.com/dizlexik))\n  - Special thanks to [@hypatiah](https://github.com/dizlexik) for fixed some grammatical errors in README\n\n- [1.5.2]\n  - Add yarn lock\n  - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [@nemophrost](https://github.com/nemophrost))\n  - The first webview always reloaded when injecting the rest of the children (thanks [@eosterberg](https://github.com/eosterberg))\n\n> see more: [CHANGELOG.md](CHANGELOG.md)\n\n## Show Cases\n\n> Try these cases by yourself very easy, Just open `examples/ios/swiper.xcodeproj` in Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases.\n\n### [examples/components/Basic](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic)\n\n![](http://i.imgur.com/zrsazAG.gif=300x)\n\n### [examples/components/Swiper](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Swiper)\n\n![](http://i.imgur.com/hP3f3oO.gif=300x)\n\n### [examples/components/SwiperNumber](https://github.com/leecade/react-native-swiper/blob/master/examples/components/SwiperNumber)\n\n![](http://i.imgur.com/0rqESVb.gif=300x)\n\n### [examples/components/Phone](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Phone)\n\n![](http://i.imgur.com/c1BhjZm.gif=300x)\n\n### [examples/components/LoadMinimal](https://github.com/leecade/react-native-swiper/blob/master/examples/components/LoadMinimal)\n\n![](http://i.imgur.com/LAOHbJA.gif=300x)\n\n## Getting Started\n\n- [Installation](#installation)\n- [Basic Usage](#basic-usage)\n- [Properties](#properties)\n  - [Basic](#basic)\n  - [Custom basic style & content](#custom-basic-style--content)\n  - [Pagination](#pagination)\n  - [Autoplay](#autoplay)\n  - [Control buttons](#control-buttons)\n  - [Props of Children](#props-of-children)\n  - [Basic props of `<ScrollView />`](#basic-props-of-scrollview-)\n  - [Supported ScrollResponder](#supported-scrollresponder)\n- [Examples](#examples)\n- [Development](#development)\n\n### Installation\n\n> v1.5.14\n\n```bash\n$ npm i react-native-swiper --save\n```\n\n> v1.6.0-nightly\n\n```\nnpm i --save react-native-swiper@nightly\n```\n\n### Basic Usage\n\n- Install `react-native` first\n\n```bash\n$ npm i react-native-cli -g\n```\n\n- Initialization of a react-native project\n\n```bash\n$ react-native init myproject\n```\n\n- Then, edit `myproject/index.ios.js`, like this:\n\n```jsx\nimport React, { Component } from 'react'\nimport { AppRegistry, StyleSheet, Text, View } from 'react-native'\n\nimport Swiper from 'react-native-swiper'\n\nconst styles = StyleSheet.create({\n  wrapper: {},\n  slide1: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#9DD6EB'\n  },\n  slide2: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#97CAE5'\n  },\n  slide3: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#92BBD9'\n  },\n  text: {\n    color: '#fff',\n    fontSize: 30,\n    fontWeight: 'bold'\n  }\n})\n\nexport default class SwiperComponent extends Component {\n  render() {\n    return (\n      <Swiper style={styles.wrapper} showsButtons={true}>\n        <View style={styles.slide1}>\n          <Text style={styles.text}>Hello Swiper</Text>\n        </View>\n        <View style={styles.slide2}>\n          <Text style={styles.text}>Beautiful</Text>\n        </View>\n        <View style={styles.slide3}>\n          <Text style={styles.text}>And simple</Text>\n        </View>\n      </Swiper>\n    )\n  }\n}\n\nAppRegistry.registerComponent('myproject', () => SwiperComponent)\n```\n\n### Properties\n\n#### Basic\n\n| Prop           |     Default     |   Type   | Description                                                                                                 |\n| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |\n| horizontal     |      true       |  `bool`  | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column. |\n| loop           |      true       |  `bool`  | Set to `false` to disable continuous loop mode.                                                             |\n| index          |        0        | `number` | Index number of initial slide.                                                                              |\n| showsButtons   |      false      |  `bool`  | Set to `true` make control buttons visible.                                                                 |\n| autoplay       |      false      |  `bool`  | Set to `true` enable auto play mode.                                                                        |\n| onIndexChanged | (index) => null |  `func`  | Called with the new index when the user swiped                                                              |\n\n#### Custom basic style & content\n\n| Prop              |         Default         |   Type    | Description                                                                |\n| :---------------- | :---------------------: | :-------: | :------------------------------------------------------------------------- |\n| width             |            -            | `number`  | If no specify default enable fullscreen mode by `flex: 1`.                 |\n| height            |            -            | `number`  | If no specify default fullscreen mode by `flex: 1`.                        |\n| style             |          {...}          |  `style`  | See default style in source.                                               |\n| containerStyle    |          {...}          |  `style`  | See default container style in source.                                     |\n| loadMinimal       |          false          |  `bool`   | Only load current index slide , `loadMinimalSize` slides before and after. |\n| loadMinimalSize   |            1            | `number`  | see `loadMinimal`                                                          |\n| loadMinimalLoader | `<ActivityIndicator />` | `element` | Custom loader to display when slides aren't loaded                         |\n\n#### Pagination\n\n| Prop             |                                                                          Default                                                                          |    Type    | Description                                                                                                                                                                                   |\n| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| showsPagination  |                                                                           true                                                                            |   `bool`   | Set to `true` make pagination visible.                                                                                                                                                        |\n| paginationStyle  |                                                                           {...}                                                                           |  `style`   | Custom styles will merge with the default styles.                                                                                                                                             |\n| renderPagination |                                                                             -                                                                             | `function` | Complete control how to render pagination with three params (`index`, `total`, `context`) ref to `this.state.index` / `this.state.total` / `this`, For example: show numbers instead of dots. |\n| dot              | `<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 8, height: 8,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />` | `element`  | Allow custom the dot element.                                                                                                                                                                 |\n| activeDot        |   `<View style={{backgroundColor: '#007aff', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />`    | `element`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotStyle         |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotColor         |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotColor   |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotStyle   |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n\n#### Autoplay\n\n| Prop              | Default |   Type   | Description                                      |\n| :---------------- | :-----: | :------: | :----------------------------------------------- |\n| autoplay          |  true   |  `bool`  | Set to `true` enable auto play mode.             |\n| autoplayTimeout   |   2.5   | `number` | Delay between auto play transitions (in second). |\n| autoplayDirection |  true   |  `bool`  | Cycle direction control.                         |\n\n#### Control buttons\n\n| Prop               |                                                                                                   Default                                                                                                   |   Type    | Description                                 |\n| :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------: | :------------------------------------------ |\n| showsButtons       |                                                                                                    true                                                                                                     |  `bool`   | Set to `true` make control buttons visible. |\n| buttonWrapperStyle | `{backgroundColor: 'transparent', flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 10, justifyContent: 'space-between', alignItems: 'center'}` |  `style`  | Custom styles.                              |\n| nextButton         |                                                                                 `<Text style={styles.buttonText}>›</Text>`                                                                                  | `element` | Allow custom the next button.               |\n| prevButton         |                                                                                 `<Text style={styles.buttonText}>‹</Text>`                                                                                  | `element` | Allow custom the prev button.               |\n\n#### Props of Children\n\n| Prop  |               Default                |   Type    | Description                                                    |\n| :---- | :----------------------------------: | :-------: | :------------------------------------------------------------- |\n| style |                {...}                 |  `style`  | Custom styles will merge with the default styles.              |\n| title | {<Text numberOfLines={1}>...</Text>} | `element` | If this parameter is not specified, will not render the title. |\n\n#### Basic props of `<ScrollView />`\n\n| Prop                             | Default |  Type  | Description                                                                                                                                                                                                                                     |\n| :------------------------------- | :-----: | :----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| horizontal                       |  true   | `bool` | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column.                                                                                                                                     |\n| pagingEnabled                    |  true   | `bool` | If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.                                                                                                               |\n| showsHorizontalScrollIndicator   |  false  | `bool` | Set to `true` if you want to show horizontal scroll bar.                                                                                                                                                                                        |\n| showsVerticalScrollIndicator     |  false  | `bool` | Set to `true` if you want to show vertical scroll bar.                                                                                                                                                                                          |\n| bounces                          |  false  | `bool` | If `true`, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If `false`, it disables all bouncing even if the alwaysBounce\\* props are true. |\n| scrollsToTop                     |  false  | `bool` | If true, the scroll view scrolls to top when the status bar is tapped.                                                                                                                                                                          |\n| removeClippedSubviews            |  true   | `bool` | If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.                                                            |\n| automaticallyAdjustContentInsets |  false  | `bool` | Set to `true` if you need adjust content insets automation.                                                                                                                                                                                     |\n| scrollEnabled                    |  true   | `bool` | Enables/Disables swiping                                                                                                                                                                                                                        |\n\n> @see: http://facebook.github.io/react-native/docs/scrollview.html\n\n#### Supported ScrollResponder\n\n| Prop                |          Params           |    Type    | Description                                                 |\n| :------------------ | :-----------------------: | :--------: | :---------------------------------------------------------- |\n| onScrollBeginDrag   | `e` / `state` / `context` | `function` | When animation begins after letting up                      |\n| onMomentumScrollEnd | `e` / `state` / `context` | `function` | Makes no sense why this occurs first during bounce          |\n| onTouchStartCapture | `e` / `state` / `context` | `function` | Immediately after `onMomentumScrollEnd`                     |\n| onTouchStart        | `e` / `state` / `context` | `function` | Same, but bubble phase                                      |\n| onTouchEnd          | `e` / `state` / `context` | `function` | You could hold the touch start for a long time              |\n| onResponderRelease  | `e` / `state` / `context` | `function` | When lifting up - you could pause forever before \\* lifting |\n\n> Note: each ScrollResponder be injected with two params: `state` and `context`, you can get `state` and `context`(ref to swiper's `this`) from params, for example:\n\n```jsx\nvar swiper = React.createClass({\n  _onMomentumScrollEnd: function (e, state, context) {\n    console.log(state, context.state)\n  },\n  render: function() {\n    return (\n      <Swiper style={styles.wrapper}\n      onMomentumScrollEnd ={this._onMomentumScrollEnd}\n     ...\n      </Swiper>\n    )\n  }\n})\n```\n\n> More ScrollResponder info, see: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollResponder.js\n\n### Methods\n\n#### scrollBy(index, animated)\n\nScroll by relative index.\n\nParameters:\n\n| Name     |   Type   |   default   | Description  |\n| :------- | :------: | :---------: | :----------- |\n| index    | `number` | `undefined` | offset index |\n| animated |  `bool`  |   `true`    | offset index |\n\n### Examples\n\n```bash\n$ cd examples\n$ npm i\n$ react-native run-ios\n```\n\n> Quick start with [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/).\n\n### Development\n\n```bash\n$ cd examples\n$ npm i\n$ npm run dev\n$ react-native run-ios\n```\n\nThen launch simulator to preview. Note that you just need to edit the source file `src/index.js`, the change will auto sync to examples.\n\nAnd now that this project follows the [standard](https://github.com/feross/standard) code style, you'd better prepare it for IDE.\n\n## Contribution\n\n- [@leecade](mailto:leecade@163.com) The main author.\n- [@rajkissu](mailto:rajkissu@gmail.com) The secondary contributor.\n\n## Questions\n\nFeel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new)\n\n> Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥.\n","gitHead":"6435af06c5c6fd3b62e14fe3e074891d2f325b93","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","commit":"npx git-cz","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.9.0","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"12.6.0","dependencies":{"prop-types":"^15.5.10"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^7.1.0","standard":"^13.0.1","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.6.0-nightly.3_1563175625488_0.4157172802299456","host":"s3://npm-registry-packages"}},"1.6.0-nightly.5":{"name":"react-native-swiper","version":"1.6.0-nightly.5","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.6.0-nightly.5","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"894319918ff22680c325b8052457ccf213a7c7cd","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.6.0-nightly.5.tgz","fileCount":13,"integrity":"sha512-0siIUvD7FcGPSjRtsMyTWWmosUA+kJNT0WbJ0lf3Drp8vxeuWAg5kSmvQO+dJpISugcBWpfBc0OBDC5fBl+DsA==","signatures":[{"sig":"MEUCIADwAFAoOnh3W/XzdBqNZPAqGiNr92z61lo8DcpGlYcQAiEA6/zqtkkzLV6ocD83846XtxSq2kEUtTF5lXUXIcLUNlU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdh3LJCRA9TVsSAnZWagAAS+AQAICGKdPdlzktI9L8uoZt\nX/pdf0ja10MTqvpsZ0NTeo4hUMnUcq6o+ba384dqSUM4BRxRuudGruZ6uHCy\nNsThcWiS2e1LC9k96RQBmddJYhr1reaCYG6cfSDuDGH4iNVDBE+DuaFV9BZI\nEx1raBEjNSzmKf+d2ZvrZnU5L1G7RkE9cGDlkMfKZ4a5oRNp5wVd0bakQkgt\nvOjU24wrppwRAJimPLU7XDy7H75MzTmhwvvweS15c68YIbEYofZVNhe8MPHa\nPp4WVcD1dAtNf/W8QVvxQUKn047KkHduy5VxiMtxWbujaroyYges8VY8xa/Q\nXOs0yo8xx0rs8+miCEWZYzNgTaZAwNY+iskTCXixKHgjfPKQW5LvI9S+8X/I\nuxDBReU2A5kyWBn1uN6/jSalZg8MS1eFEUTUh4zZgSbZTFXucHIHwZq4yYBS\nW2Q/i1fPZEUE7fQJma4z82w//VSt/DDi2RIxUBime9simdaqnZb7IJ1g3aZm\n1nzVuoXPXsqtR04HseLqmpGnQ+vw0Jr62q5/1I5vv1yVyieFL4UjLy1jz5MH\nzTG5zRcoOBgljFdqvj6pGU4MQRtldjJgCBxFGjC983gEw6lJlPTbVWwFWDsn\nqd5++qCdRkVlc1T1MishRK+qX2qPeCK4HwYdu5QROKjzIT/BikTysTPbi1BY\n1r9o\r\n=ciGZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"readme":"<p align=\"center\">\n  <img alt=\"react-native-swiper\" src=\"http://i.imgur.com/P4cRUgD.png\" width=\"208\">\n</p>\n\n<p align=\"center\">\n  The best Swiper component for React Native.\n</p>\n\n<p align=\"center\">\n  <a href=\"http://standardjs.com/\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/v/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/dm/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/pulls?q=is%3Apr+is%3Aclosed\"><img alt=\"PR Stats\" src=\"https://img.shields.io/issuestats/i/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/issues?q=is%3Aissue+is%3Aclosed\"><img alt=\"Issue Stats\" src=\"https://img.shields.io/issuestats/p/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/leecade/react-native-swiper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\"><img alt=\"Join the chat\" src=\"https://badges.gitter.im/leecade/react-native-swiper.svg\"></a>\n</p>\n\n# react-native-swiper\n\n## Roadmap\n\n> see: [ROADMAP.md](ROADMAP.md)\n\n## Changelogs\n\n- **[1.6.0-nightly]**\n  - Dependency\n    - Remove ViewPagerAndroid, use ScrollView #1009\n  - TypeScript\n    - correct the wrong types #1000\n    - Add missing scrollBy TypeScript definition #931\n  - New Feature\n    - add scrollTo #831\n    - Added prop to disable the PrevButton #749\n    - Optionally render page #1004\n  - Bug Fix\n    - ES6 and CommonJS compatibility #717\n    - Solves the issue of state messing up when parent component calls setState #939\n    - replay when autoplay is setted to true #1002\n\n* [1.5.6]\n\n  - Fix [#16](https://github.com/leecade/react-native-swiper/issues/16), [#36](https://github.com/leecade/react-native-swiper/issues/36), [#371](https://github.com/leecade/react-native-swiper/issues/371), [#410](https://github.com/leecade/react-native-swiper/issues/410), [#411](https://github.com/leecade/react-native-swiper/issues/411), [#422](https://github.com/leecade/react-native-swiper/issues/422), [#468](https://github.com/leecade/react-native-swiper/issues/468) Fix landscape orientation auto resize! (thanks [@ahmed3mar](https://github.com/ahmed3mar), [@timmywil](https://github.com/timmywil))\n  - Add containerStyle prop to customize the view container.\n\n* [1.5.5]\n  - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes\n\n- [1.5.4]\n\n  - Added easily accessible pagination point manipulation: use `dotColor` / `activeDotColor` and `dotStyle` / `activeDotStyle` (thanks [@denizs](https://github.com/denizs))\n  - Added scrollEnabled prop to documentation (thanks [@ibandominguez](https://github.com/ibandominguez))\n\n- [1.5.3]\n\n  - Add loadMinimalLoader prop to customize `<ActivityIndicator />` (thanks [@Exilz](https://github.com/Exilz))\n  - Disable autoplay timer when prop changes to false (thanks [@dizlexik](https://github.com/dizlexik))\n  - Special thanks to [@hypatiah](https://github.com/dizlexik) for fixed some grammatical errors in README\n\n- [1.5.2]\n  - Add yarn lock\n  - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [@nemophrost](https://github.com/nemophrost))\n  - The first webview always reloaded when injecting the rest of the children (thanks [@eosterberg](https://github.com/eosterberg))\n\n> see more: [CHANGELOG.md](CHANGELOG.md)\n\n## Show Cases\n\n> Try these cases by yourself very easy, Just open `examples/ios/swiper.xcodeproj` in Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases.\n\n### [examples/components/Basic](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic)\n\n![](http://i.imgur.com/zrsazAG.gif=300x)\n\n### [examples/components/Swiper](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Swiper)\n\n![](http://i.imgur.com/hP3f3oO.gif=300x)\n\n### [examples/components/SwiperNumber](https://github.com/leecade/react-native-swiper/blob/master/examples/components/SwiperNumber)\n\n![](http://i.imgur.com/0rqESVb.gif=300x)\n\n### [examples/components/Phone](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Phone)\n\n![](http://i.imgur.com/c1BhjZm.gif=300x)\n\n### [examples/components/LoadMinimal](https://github.com/leecade/react-native-swiper/blob/master/examples/components/LoadMinimal)\n\n![](http://i.imgur.com/LAOHbJA.gif=300x)\n\n## Getting Started\n\n- [Installation](#installation)\n- [Basic Usage](#basic-usage)\n- [Properties](#properties)\n  - [Basic](#basic)\n  - [Custom basic style & content](#custom-basic-style--content)\n  - [Pagination](#pagination)\n  - [Autoplay](#autoplay)\n  - [Control buttons](#control-buttons)\n  - [Props of Children](#props-of-children)\n  - [Basic props of `<ScrollView />`](#basic-props-of-scrollview-)\n  - [Supported ScrollResponder](#supported-scrollresponder)\n- [Examples](#examples)\n- [Development](#development)\n\n### Installation\n\n> v1.5.14\n\n```bash\n$ npm i react-native-swiper --save\n```\n\n> v1.6.0-nightly\n\n```\nnpm i --save react-native-swiper@nightly\n```\n\n### Basic Usage\n\n- Install `react-native` first\n\n```bash\n$ npm i react-native-cli -g\n```\n\n- Initialization of a react-native project\n\n```bash\n$ react-native init myproject\n```\n\n- Then, edit `myproject/index.ios.js`, like this:\n\n```jsx\nimport React, { Component } from 'react'\nimport { AppRegistry, StyleSheet, Text, View } from 'react-native'\n\nimport Swiper from 'react-native-swiper'\n\nconst styles = StyleSheet.create({\n  wrapper: {},\n  slide1: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#9DD6EB'\n  },\n  slide2: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#97CAE5'\n  },\n  slide3: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#92BBD9'\n  },\n  text: {\n    color: '#fff',\n    fontSize: 30,\n    fontWeight: 'bold'\n  }\n})\n\nexport default class SwiperComponent extends Component {\n  render() {\n    return (\n      <Swiper style={styles.wrapper} showsButtons={true}>\n        <View style={styles.slide1}>\n          <Text style={styles.text}>Hello Swiper</Text>\n        </View>\n        <View style={styles.slide2}>\n          <Text style={styles.text}>Beautiful</Text>\n        </View>\n        <View style={styles.slide3}>\n          <Text style={styles.text}>And simple</Text>\n        </View>\n      </Swiper>\n    )\n  }\n}\n\nAppRegistry.registerComponent('myproject', () => SwiperComponent)\n```\n\n### Properties\n\n#### Basic\n\n| Prop           |     Default     |   Type   | Description                                                                                                 |\n| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |\n| horizontal     |      true       |  `bool`  | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column. |\n| loop           |      true       |  `bool`  | Set to `false` to disable continuous loop mode.                                                             |\n| index          |        0        | `number` | Index number of initial slide.                                                                              |\n| showsButtons   |      false      |  `bool`  | Set to `true` make control buttons visible.                                                                 |\n| autoplay       |      false      |  `bool`  | Set to `true` enable auto play mode.                                                                        |\n| onIndexChanged | (index) => null |  `func`  | Called with the new index when the user swiped                                                              |\n\n#### Custom basic style & content\n\n| Prop              |         Default         |   Type    | Description                                                                |\n| :---------------- | :---------------------: | :-------: | :------------------------------------------------------------------------- |\n| width             |            -            | `number`  | If no specify default enable fullscreen mode by `flex: 1`.                 |\n| height            |            -            | `number`  | If no specify default fullscreen mode by `flex: 1`.                        |\n| style             |          {...}          |  `style`  | See default style in source.                                               |\n| containerStyle    |          {...}          |  `style`  | See default container style in source.                                     |\n| loadMinimal       |          false          |  `bool`   | Only load current index slide , `loadMinimalSize` slides before and after. |\n| loadMinimalSize   |            1            | `number`  | see `loadMinimal`                                                          |\n| loadMinimalLoader | `<ActivityIndicator />` | `element` | Custom loader to display when slides aren't loaded                         |\n\n#### Pagination\n\n| Prop             |                                                                          Default                                                                          |    Type    | Description                                                                                                                                                                                   |\n| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| showsPagination  |                                                                           true                                                                            |   `bool`   | Set to `true` make pagination visible.                                                                                                                                                        |\n| paginationStyle  |                                                                           {...}                                                                           |  `style`   | Custom styles will merge with the default styles.                                                                                                                                             |\n| renderPagination |                                                                             -                                                                             | `function` | Complete control how to render pagination with three params (`index`, `total`, `context`) ref to `this.state.index` / `this.state.total` / `this`, For example: show numbers instead of dots. |\n| dot              | `<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 8, height: 8,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />` | `element`  | Allow custom the dot element.                                                                                                                                                                 |\n| activeDot        |   `<View style={{backgroundColor: '#007aff', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />`    | `element`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotStyle         |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotColor         |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotColor   |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotStyle   |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n\n#### Autoplay\n\n| Prop              | Default |   Type   | Description                                      |\n| :---------------- | :-----: | :------: | :----------------------------------------------- |\n| autoplay          |  true   |  `bool`  | Set to `true` enable auto play mode.             |\n| autoplayTimeout   |   2.5   | `number` | Delay between auto play transitions (in second). |\n| autoplayDirection |  true   |  `bool`  | Cycle direction control.                         |\n\n#### Control buttons\n\n| Prop               |                                                                                                   Default                                                                                                   |   Type    | Description                                 |\n| :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------: | :------------------------------------------ |\n| showsButtons       |                                                                                                    true                                                                                                     |  `bool`   | Set to `true` make control buttons visible. |\n| buttonWrapperStyle | `{backgroundColor: 'transparent', flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 10, justifyContent: 'space-between', alignItems: 'center'}` |  `style`  | Custom styles.                              |\n| nextButton         |                                                                                 `<Text style={styles.buttonText}>›</Text>`                                                                                  | `element` | Allow custom the next button.               |\n| prevButton         |                                                                                 `<Text style={styles.buttonText}>‹</Text>`                                                                                  | `element` | Allow custom the prev button.               |\n\n#### Props of Children\n\n| Prop  |               Default                |   Type    | Description                                                    |\n| :---- | :----------------------------------: | :-------: | :------------------------------------------------------------- |\n| style |                {...}                 |  `style`  | Custom styles will merge with the default styles.              |\n| title | {<Text numberOfLines={1}>...</Text>} | `element` | If this parameter is not specified, will not render the title. |\n\n#### Basic props of `<ScrollView />`\n\n| Prop                             | Default |  Type  | Description                                                                                                                                                                                                                                     |\n| :------------------------------- | :-----: | :----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| horizontal                       |  true   | `bool` | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column.                                                                                                                                     |\n| pagingEnabled                    |  true   | `bool` | If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.                                                                                                               |\n| showsHorizontalScrollIndicator   |  false  | `bool` | Set to `true` if you want to show horizontal scroll bar.                                                                                                                                                                                        |\n| showsVerticalScrollIndicator     |  false  | `bool` | Set to `true` if you want to show vertical scroll bar.                                                                                                                                                                                          |\n| bounces                          |  false  | `bool` | If `true`, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If `false`, it disables all bouncing even if the alwaysBounce\\* props are true. |\n| scrollsToTop                     |  false  | `bool` | If true, the scroll view scrolls to top when the status bar is tapped.                                                                                                                                                                          |\n| removeClippedSubviews            |  true   | `bool` | If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.                                                            |\n| automaticallyAdjustContentInsets |  false  | `bool` | Set to `true` if you need adjust content insets automation.                                                                                                                                                                                     |\n| scrollEnabled                    |  true   | `bool` | Enables/Disables swiping                                                                                                                                                                                                                        |\n\n> @see: http://facebook.github.io/react-native/docs/scrollview.html\n\n#### Supported ScrollResponder\n\n| Prop                |          Params           |    Type    | Description                                                 |\n| :------------------ | :-----------------------: | :--------: | :---------------------------------------------------------- |\n| onScrollBeginDrag   | `e` / `state` / `context` | `function` | When animation begins after letting up                      |\n| onMomentumScrollEnd | `e` / `state` / `context` | `function` | Makes no sense why this occurs first during bounce          |\n| onTouchStartCapture | `e` / `state` / `context` | `function` | Immediately after `onMomentumScrollEnd`                     |\n| onTouchStart        | `e` / `state` / `context` | `function` | Same, but bubble phase                                      |\n| onTouchEnd          | `e` / `state` / `context` | `function` | You could hold the touch start for a long time              |\n| onResponderRelease  | `e` / `state` / `context` | `function` | When lifting up - you could pause forever before \\* lifting |\n\n> Note: each ScrollResponder be injected with two params: `state` and `context`, you can get `state` and `context`(ref to swiper's `this`) from params, for example:\n\n```jsx\nvar swiper = React.createClass({\n  _onMomentumScrollEnd: function (e, state, context) {\n    console.log(state, context.state)\n  },\n  render: function() {\n    return (\n      <Swiper style={styles.wrapper}\n      onMomentumScrollEnd ={this._onMomentumScrollEnd}\n     ...\n      </Swiper>\n    )\n  }\n})\n```\n\n> More ScrollResponder info, see: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollResponder.js\n\n### Methods\n\n#### scrollBy(index, animated)\n\nScroll by relative index.\n\nParameters:\n\n| Name     |   Type   |   default   | Description  |\n| :------- | :------: | :---------: | :----------- |\n| index    | `number` | `undefined` | offset index |\n| animated |  `bool`  |   `true`    | offset index |\n\n### Examples\n\n```bash\n$ cd examples\n$ npm i\n$ react-native run-ios\n```\n\n> Quick start with [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/).\n\n### Development\n\n```bash\n$ cd examples\n$ npm i\n$ npm run dev\n$ react-native run-ios\n```\n\nThen launch simulator to preview. Note that you just need to edit the source file `src/index.js`, the change will auto sync to examples.\n\nAnd now that this project follows the [standard](https://github.com/feross/standard) code style, you'd better prepare it for IDE.\n\n## Contribution\n\n- [@leecade](mailto:leecade@163.com) The main author.\n- [@rajkissu](mailto:rajkissu@gmail.com) The secondary contributor.\n\n## Questions\n\nFeel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new)\n\n> Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥.\n","gitHead":"1b1c9516deb3f2ce6ac673a6b2fb29cc14e9d866","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","commit":"npx git-cz","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.11.3","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.5.10"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^7.1.0","standard":"^13.0.1","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.6.0-nightly.5_1569157832481_0.08238502108296308","host":"s3://npm-registry-packages"}},"1.6.0-rc.0":{"name":"react-native-swiper","version":"1.6.0-rc.0","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.6.0-rc.0","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"16c690aef3ae6503371f017fdafc7c429062d563","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.6.0-rc.0.tgz","fileCount":13,"integrity":"sha512-IloBnK/RmAT9H5hBbVsAPrVkaotZO+4F2xqKG2MW0wi1Y/szVrOLnjO7tJJfMkM444M5hx5OepcQ+ZXce3IagQ==","signatures":[{"sig":"MEYCIQCLxmiuZ6gI+HOboVlYARgNclgTqUZ/2+sPp1C55ZT36AIhAPblm/Uiyi9f5oD0Md0GoXhiGCPxBrQsvw7ULl429n5T","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66231,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdkII/CRA9TVsSAnZWagAASj8P/igdzfVwkz74BtH1dS79\nhUNXBFGHzIQnw374m4waxhmyUXAfmWGDDqU1oqFj1FT6bPOIpaUtsoHP/gtD\n3bTXpZmTzSgGdkdtkfzZM+5TkBpKAwz15Ax3+vbmm/KhMlwTNsSKIAWRqHt9\nvgwy1GS+K5NoOKqT2sMTncuGgnSHxXY4n4VGNV5hk2luI6/mWGyinyvqK6M4\nSEpt+WdDli+1Cwy6XGBSgmbjtxJMDQU0TlgEyhzT7iJwI3AIWfCXgiTo9T/S\nhBjRsfydb7D9+/ZyPrpH9xU70FK75xXr7eBLDD6Y6YoTr6UZMNtUZVICiqTC\nOrwJzZymcbd7rlhW4gkd10OEslMqAJIutVFfztC9IxOW6ee7n3jeyiK08bY0\nhlhKewhI1Oixi/69mIyW2ZMK4kM0jSuJ/M641OMPwyz3anpWYsd3tKu2P+Ci\nEld+QJj4HOfD6Efret2FQ2w46DXCz10/2Si1A207bPClb3ikUCFcI+fTnDlP\ntuCIpUG0jrok/gfoud81Vh3XTXD91/BXnKjXyHT5tsrnpsgnMkRW2BnN175l\ngh2AqK35Ny2TL6LYDGVRRsoS7x5eH1FVTbsOaeuYvpHkwutVhTFdDvFoGfwm\n22IJ4fyRyuUwsAMnoqE4Yq8DabatuqzuHr+2mUPcATRWiOKaunWrphAmA4hh\nDrmx\r\n=NIpY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"readme":"<p align=\"center\">\n  <img alt=\"react-native-swiper\" src=\"http://i.imgur.com/P4cRUgD.png\" width=\"208\">\n</p>\n\n<p align=\"center\">\n  The best Swiper component for React Native.\n</p>\n\n<p align=\"center\">\n  <a href=\"http://standardjs.com/\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/v/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/dm/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/pulls?q=is%3Apr+is%3Aclosed\"><img alt=\"PR Stats\" src=\"https://img.shields.io/issuestats/i/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/issues?q=is%3Aissue+is%3Aclosed\"><img alt=\"Issue Stats\" src=\"https://img.shields.io/issuestats/p/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/leecade/react-native-swiper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\"><img alt=\"Join the chat\" src=\"https://badges.gitter.im/leecade/react-native-swiper.svg\"></a>\n</p>\n\n# react-native-swiper\n\n## Roadmap\n\n> see: [ROADMAP.md](ROADMAP.md)\n\n## Changelogs\n\n- **[1.6.0-nightly]**\n  - Dependency\n    - Remove ViewPagerAndroid, use ScrollView #1009\n  - TypeScript\n    - correct the wrong types #1000\n    - Add missing scrollBy TypeScript definition #931\n  - New Feature\n    - add scrollTo #831\n    - Added prop to disable the PrevButton #749\n    - Optionally render page #1004\n  - Bug Fix\n    - ES6 and CommonJS compatibility #717\n    - Solves the issue of state messing up when parent component calls setState #939\n    - replay when autoplay is setted to true #1002\n\n* [1.5.6]\n\n  - Fix [#16](https://github.com/leecade/react-native-swiper/issues/16), [#36](https://github.com/leecade/react-native-swiper/issues/36), [#371](https://github.com/leecade/react-native-swiper/issues/371), [#410](https://github.com/leecade/react-native-swiper/issues/410), [#411](https://github.com/leecade/react-native-swiper/issues/411), [#422](https://github.com/leecade/react-native-swiper/issues/422), [#468](https://github.com/leecade/react-native-swiper/issues/468) Fix landscape orientation auto resize! (thanks [@ahmed3mar](https://github.com/ahmed3mar), [@timmywil](https://github.com/timmywil))\n  - Add containerStyle prop to customize the view container.\n\n* [1.5.5]\n  - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes\n\n- [1.5.4]\n\n  - Added easily accessible pagination point manipulation: use `dotColor` / `activeDotColor` and `dotStyle` / `activeDotStyle` (thanks [@denizs](https://github.com/denizs))\n  - Added scrollEnabled prop to documentation (thanks [@ibandominguez](https://github.com/ibandominguez))\n\n- [1.5.3]\n\n  - Add loadMinimalLoader prop to customize `<ActivityIndicator />` (thanks [@Exilz](https://github.com/Exilz))\n  - Disable autoplay timer when prop changes to false (thanks [@dizlexik](https://github.com/dizlexik))\n  - Special thanks to [@hypatiah](https://github.com/dizlexik) for fixed some grammatical errors in README\n\n- [1.5.2]\n  - Add yarn lock\n  - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [@nemophrost](https://github.com/nemophrost))\n  - The first webview always reloaded when injecting the rest of the children (thanks [@eosterberg](https://github.com/eosterberg))\n\n> see more: [CHANGELOG.md](CHANGELOG.md)\n\n## Show Cases\n\n> Try these cases by yourself very easy, Just open `examples/ios/swiper.xcodeproj` in Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases.\n\n### [examples/components/Basic](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic)\n\n![](http://i.imgur.com/zrsazAG.gif=300x)\n\n### [examples/components/Swiper](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Swiper)\n\n![](http://i.imgur.com/hP3f3oO.gif=300x)\n\n### [examples/components/SwiperNumber](https://github.com/leecade/react-native-swiper/blob/master/examples/components/SwiperNumber)\n\n![](http://i.imgur.com/0rqESVb.gif=300x)\n\n### [examples/components/Phone](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Phone)\n\n![](http://i.imgur.com/c1BhjZm.gif=300x)\n\n### [examples/components/LoadMinimal](https://github.com/leecade/react-native-swiper/blob/master/examples/components/LoadMinimal)\n\n![](http://i.imgur.com/LAOHbJA.gif=300x)\n\n## Getting Started\n\n- [Installation](#installation)\n- [Basic Usage](#basic-usage)\n- [Properties](#properties)\n  - [Basic](#basic)\n  - [Custom basic style & content](#custom-basic-style--content)\n  - [Pagination](#pagination)\n  - [Autoplay](#autoplay)\n  - [Control buttons](#control-buttons)\n  - [Props of Children](#props-of-children)\n  - [Basic props of `<ScrollView />`](#basic-props-of-scrollview-)\n  - [Supported ScrollResponder](#supported-scrollresponder)\n- [Examples](#examples)\n- [Development](#development)\n\n### Installation\n\n> v1.5.14\n\n```bash\n$ npm i react-native-swiper --save\n```\n\n> v1.6.0-nightly\n\n```\nnpm i --save react-native-swiper@nightly\n```\n\n### Basic Usage\n\n- Install `react-native` first\n\n```bash\n$ npm i react-native-cli -g\n```\n\n- Initialization of a react-native project\n\n```bash\n$ react-native init myproject\n```\n\n- Then, edit `myproject/index.ios.js`, like this:\n\n```jsx\nimport React, { Component } from 'react'\nimport { AppRegistry, StyleSheet, Text, View } from 'react-native'\n\nimport Swiper from 'react-native-swiper'\n\nconst styles = StyleSheet.create({\n  wrapper: {},\n  slide1: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#9DD6EB'\n  },\n  slide2: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#97CAE5'\n  },\n  slide3: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#92BBD9'\n  },\n  text: {\n    color: '#fff',\n    fontSize: 30,\n    fontWeight: 'bold'\n  }\n})\n\nexport default class SwiperComponent extends Component {\n  render() {\n    return (\n      <Swiper style={styles.wrapper} showsButtons={true}>\n        <View style={styles.slide1}>\n          <Text style={styles.text}>Hello Swiper</Text>\n        </View>\n        <View style={styles.slide2}>\n          <Text style={styles.text}>Beautiful</Text>\n        </View>\n        <View style={styles.slide3}>\n          <Text style={styles.text}>And simple</Text>\n        </View>\n      </Swiper>\n    )\n  }\n}\n\nAppRegistry.registerComponent('myproject', () => SwiperComponent)\n```\n\n### Properties\n\n#### Basic\n\n| Prop           |     Default     |   Type   | Description                                                                                                 |\n| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |\n| horizontal     |      true       |  `bool`  | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column. |\n| loop           |      true       |  `bool`  | Set to `false` to disable continuous loop mode.                                                             |\n| index          |        0        | `number` | Index number of initial slide.                                                                              |\n| showsButtons   |      false      |  `bool`  | Set to `true` make control buttons visible.                                                                 |\n| autoplay       |      false      |  `bool`  | Set to `true` enable auto play mode.                                                                        |\n| onIndexChanged | (index) => null |  `func`  | Called with the new index when the user swiped                                                              |\n\n#### Custom basic style & content\n\n| Prop              |         Default         |   Type    | Description                                                                |\n| :---------------- | :---------------------: | :-------: | :------------------------------------------------------------------------- |\n| width             |            -            | `number`  | If no specify default enable fullscreen mode by `flex: 1`.                 |\n| height            |            -            | `number`  | If no specify default fullscreen mode by `flex: 1`.                        |\n| style             |          {...}          |  `style`  | See default style in source.                                               |\n| containerStyle    |          {...}          |  `style`  | See default container style in source.                                     |\n| loadMinimal       |          false          |  `bool`   | Only load current index slide , `loadMinimalSize` slides before and after. |\n| loadMinimalSize   |            1            | `number`  | see `loadMinimal`                                                          |\n| loadMinimalLoader | `<ActivityIndicator />` | `element` | Custom loader to display when slides aren't loaded                         |\n\n#### Pagination\n\n| Prop             |                                                                          Default                                                                          |    Type    | Description                                                                                                                                                                                   |\n| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| showsPagination  |                                                                           true                                                                            |   `bool`   | Set to `true` make pagination visible.                                                                                                                                                        |\n| paginationStyle  |                                                                           {...}                                                                           |  `style`   | Custom styles will merge with the default styles.                                                                                                                                             |\n| renderPagination |                                                                             -                                                                             | `function` | Complete control how to render pagination with three params (`index`, `total`, `context`) ref to `this.state.index` / `this.state.total` / `this`, For example: show numbers instead of dots. |\n| dot              | `<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 8, height: 8,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />` | `element`  | Allow custom the dot element.                                                                                                                                                                 |\n| activeDot        |   `<View style={{backgroundColor: '#007aff', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />`    | `element`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotStyle         |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotColor         |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotColor   |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotStyle   |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n\n#### Autoplay\n\n| Prop              | Default |   Type   | Description                                      |\n| :---------------- | :-----: | :------: | :----------------------------------------------- |\n| autoplay          |  true   |  `bool`  | Set to `true` enable auto play mode.             |\n| autoplayTimeout   |   2.5   | `number` | Delay between auto play transitions (in second). |\n| autoplayDirection |  true   |  `bool`  | Cycle direction control.                         |\n\n#### Control buttons\n\n| Prop               |                                                                                                   Default                                                                                                   |   Type    | Description                                 |\n| :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------: | :------------------------------------------ |\n| showsButtons       |                                                                                                    true                                                                                                     |  `bool`   | Set to `true` make control buttons visible. |\n| buttonWrapperStyle | `{backgroundColor: 'transparent', flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 10, justifyContent: 'space-between', alignItems: 'center'}` |  `style`  | Custom styles.                              |\n| nextButton         |                                                                                 `<Text style={styles.buttonText}>›</Text>`                                                                                  | `element` | Allow custom the next button.               |\n| prevButton         |                                                                                 `<Text style={styles.buttonText}>‹</Text>`                                                                                  | `element` | Allow custom the prev button.               |\n\n#### Props of Children\n\n| Prop  |               Default                |   Type    | Description                                                    |\n| :---- | :----------------------------------: | :-------: | :------------------------------------------------------------- |\n| style |                {...}                 |  `style`  | Custom styles will merge with the default styles.              |\n| title | {<Text numberOfLines={1}>...</Text>} | `element` | If this parameter is not specified, will not render the title. |\n\n#### Basic props of `<ScrollView />`\n\n| Prop                             | Default |  Type  | Description                                                                                                                                                                                                                                     |\n| :------------------------------- | :-----: | :----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| horizontal                       |  true   | `bool` | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column.                                                                                                                                     |\n| pagingEnabled                    |  true   | `bool` | If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.                                                                                                               |\n| showsHorizontalScrollIndicator   |  false  | `bool` | Set to `true` if you want to show horizontal scroll bar.                                                                                                                                                                                        |\n| showsVerticalScrollIndicator     |  false  | `bool` | Set to `true` if you want to show vertical scroll bar.                                                                                                                                                                                          |\n| bounces                          |  false  | `bool` | If `true`, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If `false`, it disables all bouncing even if the alwaysBounce\\* props are true. |\n| scrollsToTop                     |  false  | `bool` | If true, the scroll view scrolls to top when the status bar is tapped.                                                                                                                                                                          |\n| removeClippedSubviews            |  true   | `bool` | If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.                                                            |\n| automaticallyAdjustContentInsets |  false  | `bool` | Set to `true` if you need adjust content insets automation.                                                                                                                                                                                     |\n| scrollEnabled                    |  true   | `bool` | Enables/Disables swiping                                                                                                                                                                                                                        |\n\n> @see: http://facebook.github.io/react-native/docs/scrollview.html\n\n#### Supported ScrollResponder\n\n| Prop                |          Params           |    Type    | Description                                                 |\n| :------------------ | :-----------------------: | :--------: | :---------------------------------------------------------- |\n| onScrollBeginDrag   | `e` / `state` / `context` | `function` | When animation begins after letting up                      |\n| onMomentumScrollEnd | `e` / `state` / `context` | `function` | Makes no sense why this occurs first during bounce          |\n| onTouchStartCapture | `e` / `state` / `context` | `function` | Immediately after `onMomentumScrollEnd`                     |\n| onTouchStart        | `e` / `state` / `context` | `function` | Same, but bubble phase                                      |\n| onTouchEnd          | `e` / `state` / `context` | `function` | You could hold the touch start for a long time              |\n| onResponderRelease  | `e` / `state` / `context` | `function` | When lifting up - you could pause forever before \\* lifting |\n\n> Note: each ScrollResponder be injected with two params: `state` and `context`, you can get `state` and `context`(ref to swiper's `this`) from params, for example:\n\n```jsx\nvar swiper = React.createClass({\n  _onMomentumScrollEnd: function (e, state, context) {\n    console.log(state, context.state)\n  },\n  render: function() {\n    return (\n      <Swiper style={styles.wrapper}\n      onMomentumScrollEnd ={this._onMomentumScrollEnd}\n     ...\n      </Swiper>\n    )\n  }\n})\n```\n\n> More ScrollResponder info, see: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollResponder.js\n\n### Methods\n\n#### scrollBy(index, animated)\n\nScroll by relative index.\n\nParameters:\n\n| Name     |   Type   |   default   | Description  |\n| :------- | :------: | :---------: | :----------- |\n| index    | `number` | `undefined` | offset index |\n| animated |  `bool`  |   `true`    | offset index |\n\n### Examples\n\n```bash\n$ cd examples\n$ npm i\n$ react-native run-ios\n```\n\n> Quick start with [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/).\n\n### Development\n\n```bash\n$ cd examples\n$ npm i\n$ npm run dev\n$ react-native run-ios\n```\n\nThen launch simulator to preview. Note that you just need to edit the source file `src/index.js`, the change will auto sync to examples.\n\nAnd now that this project follows the [standard](https://github.com/feross/standard) code style, you'd better prepare it for IDE.\n\n## Contribution\n\n- [@leecade](mailto:leecade@163.com) The main author.\n- [@rajkissu](mailto:rajkissu@gmail.com) The secondary contributor.\n\n## Questions\n\nFeel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new)\n\n> Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥.\n","gitHead":"67822de9e61419b962f9bdfc6eb21d46be6da1e6","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","commit":"npx git-cz","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.11.3","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.5.10"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^7.1.0","standard":"^13.0.1","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.6.0-rc.0_1569751614535_0.6311466210780046","host":"s3://npm-registry-packages"}},"1.6.0-rc.1":{"name":"react-native-swiper","version":"1.6.0-rc.1","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.6.0-rc.1","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"d97363a9a8d1b7f52ea4491714ee6b48a8669c27","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.6.0-rc.1.tgz","fileCount":13,"integrity":"sha512-qf9fCsWOqQSnlboddz/ezl2Sl1CcOtkQoX6boEFkns2q9pocHypBfL2nCjC9B7ttRlwv3kEsUDTiBhzKcnqnTw==","signatures":[{"sig":"MEUCIQCOCoaHrtVhLWlx+yR+4KdsOsolNrQZX1Tvvj6ZIr6SlQIgEAUSvbZ8k6RPdq0oEjzX8Z5DXmJfIorcySFy71RDmdc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66235,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdkXTrCRA9TVsSAnZWagAAbPIQAKD0CJd/7o7InWhYhFAU\nYe5sM7f5fZkVdy6Wek/Gwrhul6F9agerjMQE8ZnMuRhg+4Go6Whldjcn19Je\njdjyMR3RX3/3Qtoj0UF+gefnhNsKuWPh2kHTQfD+QyK/owsW7IHfsZ/cg+tS\nSKRCAaVsqBOYYF/Nc8d1pWF59QKwDNHH8FpEd4R9Ee0PyZFSro6O+plegMFR\nV15q32kKZoEFgSiNXTZzDANG35TlLyC7tW3aB4lqKE0+1gavO9p9HXYbG7MK\n40UCFwBbaUzuFCHbuiER5mywFW8+bSL1PsyomKIsFOLUHBOb8UQGzr4a8blo\nlbINZ06j23yshxJrUDO3RIt9XGErAgR1lyab6Lm/OFx/XCuph4O+PWSVZpVR\nIByfr00fxVRPMJPSPZ1dwxCXaujyaI6U6mmQmXoMS0LALt3rtXrSFj44kJK0\nNaEZHx4teYjAVuMzo9fxp0php4oV040J6e0p2c0/eD+lSg1meo5CVgutwaJc\nU73UIj3t8Ezlcj3UMzDsJndEudSrtmWTHzqtxoDtrAB1evXWWWN2vZRPtDes\ndj3mI8DYXO5ivVy2Rg8/h069fozZGWK4QkAAH3q8PaPIOIdEPrR9QxuqsD5d\nKwF1S7Spfe9jOMjdvMJvLCAE+ufyeK3XWUS+t0qJbXVYKB91ToMtYmyWdPaS\nqh/g\r\n=pFf5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"readme":"<p align=\"center\">\n  <img alt=\"react-native-swiper\" src=\"http://i.imgur.com/P4cRUgD.png\" width=\"208\">\n</p>\n\n<p align=\"center\">\n  The best Swiper component for React Native.\n</p>\n\n<p align=\"center\">\n  <a href=\"http://standardjs.com/\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/v/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/dm/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/pulls?q=is%3Apr+is%3Aclosed\"><img alt=\"PR Stats\" src=\"https://img.shields.io/issuestats/i/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/issues?q=is%3Aissue+is%3Aclosed\"><img alt=\"Issue Stats\" src=\"https://img.shields.io/issuestats/p/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/leecade/react-native-swiper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\"><img alt=\"Join the chat\" src=\"https://badges.gitter.im/leecade/react-native-swiper.svg\"></a>\n</p>\n\n# react-native-swiper\n\n## Roadmap\n\n> see: [ROADMAP.md](ROADMAP.md)\n\n## Changelogs\n\n- **[1.6.0-nightly]**\n  - Dependency\n    - Remove ViewPagerAndroid, use ScrollView #1009\n  - TypeScript\n    - correct the wrong types #1000\n    - Add missing scrollBy TypeScript definition #931\n  - New Feature\n    - add scrollTo #831\n    - Added prop to disable the PrevButton #749\n    - Optionally render page #1004\n  - Bug Fix\n    - ES6 and CommonJS compatibility #717\n    - Solves the issue of state messing up when parent component calls setState #939\n    - replay when autoplay is setted to true #1002\n\n* [1.5.6]\n\n  - Fix [#16](https://github.com/leecade/react-native-swiper/issues/16), [#36](https://github.com/leecade/react-native-swiper/issues/36), [#371](https://github.com/leecade/react-native-swiper/issues/371), [#410](https://github.com/leecade/react-native-swiper/issues/410), [#411](https://github.com/leecade/react-native-swiper/issues/411), [#422](https://github.com/leecade/react-native-swiper/issues/422), [#468](https://github.com/leecade/react-native-swiper/issues/468) Fix landscape orientation auto resize! (thanks [@ahmed3mar](https://github.com/ahmed3mar), [@timmywil](https://github.com/timmywil))\n  - Add containerStyle prop to customize the view container.\n\n* [1.5.5]\n  - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes\n\n- [1.5.4]\n\n  - Added easily accessible pagination point manipulation: use `dotColor` / `activeDotColor` and `dotStyle` / `activeDotStyle` (thanks [@denizs](https://github.com/denizs))\n  - Added scrollEnabled prop to documentation (thanks [@ibandominguez](https://github.com/ibandominguez))\n\n- [1.5.3]\n\n  - Add loadMinimalLoader prop to customize `<ActivityIndicator />` (thanks [@Exilz](https://github.com/Exilz))\n  - Disable autoplay timer when prop changes to false (thanks [@dizlexik](https://github.com/dizlexik))\n  - Special thanks to [@hypatiah](https://github.com/dizlexik) for fixed some grammatical errors in README\n\n- [1.5.2]\n  - Add yarn lock\n  - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [@nemophrost](https://github.com/nemophrost))\n  - The first webview always reloaded when injecting the rest of the children (thanks [@eosterberg](https://github.com/eosterberg))\n\n> see more: [CHANGELOG.md](CHANGELOG.md)\n\n## Show Cases\n\n> Try these cases by yourself very easy, Just open `examples/ios/swiper.xcodeproj` in Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases.\n\n### [examples/components/Basic](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic)\n\n![](http://i.imgur.com/zrsazAG.gif=300x)\n\n### [examples/components/Swiper](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Swiper)\n\n![](http://i.imgur.com/hP3f3oO.gif=300x)\n\n### [examples/components/SwiperNumber](https://github.com/leecade/react-native-swiper/blob/master/examples/components/SwiperNumber)\n\n![](http://i.imgur.com/0rqESVb.gif=300x)\n\n### [examples/components/Phone](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Phone)\n\n![](http://i.imgur.com/c1BhjZm.gif=300x)\n\n### [examples/components/LoadMinimal](https://github.com/leecade/react-native-swiper/blob/master/examples/components/LoadMinimal)\n\n![](http://i.imgur.com/LAOHbJA.gif=300x)\n\n## Getting Started\n\n- [Installation](#installation)\n- [Basic Usage](#basic-usage)\n- [Properties](#properties)\n  - [Basic](#basic)\n  - [Custom basic style & content](#custom-basic-style--content)\n  - [Pagination](#pagination)\n  - [Autoplay](#autoplay)\n  - [Control buttons](#control-buttons)\n  - [Props of Children](#props-of-children)\n  - [Basic props of `<ScrollView />`](#basic-props-of-scrollview-)\n  - [Supported ScrollResponder](#supported-scrollresponder)\n- [Examples](#examples)\n- [Development](#development)\n\n### Installation\n\n> v1.5.14\n\n```bash\n$ npm i react-native-swiper --save\n```\n\n> v1.6.0-nightly\n\n```\nnpm i --save react-native-swiper@nightly\n```\n\n### Basic Usage\n\n- Install `react-native` first\n\n```bash\n$ npm i react-native-cli -g\n```\n\n- Initialization of a react-native project\n\n```bash\n$ react-native init myproject\n```\n\n- Then, edit `myproject/index.ios.js`, like this:\n\n```jsx\nimport React, { Component } from 'react'\nimport { AppRegistry, StyleSheet, Text, View } from 'react-native'\n\nimport Swiper from 'react-native-swiper'\n\nconst styles = StyleSheet.create({\n  wrapper: {},\n  slide1: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#9DD6EB'\n  },\n  slide2: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#97CAE5'\n  },\n  slide3: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#92BBD9'\n  },\n  text: {\n    color: '#fff',\n    fontSize: 30,\n    fontWeight: 'bold'\n  }\n})\n\nexport default class SwiperComponent extends Component {\n  render() {\n    return (\n      <Swiper style={styles.wrapper} showsButtons={true}>\n        <View style={styles.slide1}>\n          <Text style={styles.text}>Hello Swiper</Text>\n        </View>\n        <View style={styles.slide2}>\n          <Text style={styles.text}>Beautiful</Text>\n        </View>\n        <View style={styles.slide3}>\n          <Text style={styles.text}>And simple</Text>\n        </View>\n      </Swiper>\n    )\n  }\n}\n\nAppRegistry.registerComponent('myproject', () => SwiperComponent)\n```\n\n### Properties\n\n#### Basic\n\n| Prop           |     Default     |   Type   | Description                                                                                                 |\n| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |\n| horizontal     |      true       |  `bool`  | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column. |\n| loop           |      true       |  `bool`  | Set to `false` to disable continuous loop mode.                                                             |\n| index          |        0        | `number` | Index number of initial slide.                                                                              |\n| showsButtons   |      false      |  `bool`  | Set to `true` make control buttons visible.                                                                 |\n| autoplay       |      false      |  `bool`  | Set to `true` enable auto play mode.                                                                        |\n| onIndexChanged | (index) => null |  `func`  | Called with the new index when the user swiped                                                              |\n\n#### Custom basic style & content\n\n| Prop              |         Default         |   Type    | Description                                                                |\n| :---------------- | :---------------------: | :-------: | :------------------------------------------------------------------------- |\n| width             |            -            | `number`  | If no specify default enable fullscreen mode by `flex: 1`.                 |\n| height            |            -            | `number`  | If no specify default fullscreen mode by `flex: 1`.                        |\n| style             |          {...}          |  `style`  | See default style in source.                                               |\n| containerStyle    |          {...}          |  `style`  | See default container style in source.                                     |\n| loadMinimal       |          false          |  `bool`   | Only load current index slide , `loadMinimalSize` slides before and after. |\n| loadMinimalSize   |            1            | `number`  | see `loadMinimal`                                                          |\n| loadMinimalLoader | `<ActivityIndicator />` | `element` | Custom loader to display when slides aren't loaded                         |\n\n#### Pagination\n\n| Prop             |                                                                          Default                                                                          |    Type    | Description                                                                                                                                                                                   |\n| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| showsPagination  |                                                                           true                                                                            |   `bool`   | Set to `true` make pagination visible.                                                                                                                                                        |\n| paginationStyle  |                                                                           {...}                                                                           |  `style`   | Custom styles will merge with the default styles.                                                                                                                                             |\n| renderPagination |                                                                             -                                                                             | `function` | Complete control how to render pagination with three params (`index`, `total`, `context`) ref to `this.state.index` / `this.state.total` / `this`, For example: show numbers instead of dots. |\n| dot              | `<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 8, height: 8,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />` | `element`  | Allow custom the dot element.                                                                                                                                                                 |\n| activeDot        |   `<View style={{backgroundColor: '#007aff', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />`    | `element`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotStyle         |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotColor         |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotColor   |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotStyle   |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n\n#### Autoplay\n\n| Prop              | Default |   Type   | Description                                      |\n| :---------------- | :-----: | :------: | :----------------------------------------------- |\n| autoplay          |  true   |  `bool`  | Set to `true` enable auto play mode.             |\n| autoplayTimeout   |   2.5   | `number` | Delay between auto play transitions (in second). |\n| autoplayDirection |  true   |  `bool`  | Cycle direction control.                         |\n\n#### Control buttons\n\n| Prop               |                                                                                                   Default                                                                                                   |   Type    | Description                                 |\n| :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------: | :------------------------------------------ |\n| showsButtons       |                                                                                                    true                                                                                                     |  `bool`   | Set to `true` make control buttons visible. |\n| buttonWrapperStyle | `{backgroundColor: 'transparent', flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 10, justifyContent: 'space-between', alignItems: 'center'}` |  `style`  | Custom styles.                              |\n| nextButton         |                                                                                 `<Text style={styles.buttonText}>›</Text>`                                                                                  | `element` | Allow custom the next button.               |\n| prevButton         |                                                                                 `<Text style={styles.buttonText}>‹</Text>`                                                                                  | `element` | Allow custom the prev button.               |\n\n#### Props of Children\n\n| Prop  |               Default                |   Type    | Description                                                    |\n| :---- | :----------------------------------: | :-------: | :------------------------------------------------------------- |\n| style |                {...}                 |  `style`  | Custom styles will merge with the default styles.              |\n| title | {<Text numberOfLines={1}>...</Text>} | `element` | If this parameter is not specified, will not render the title. |\n\n#### Basic props of `<ScrollView />`\n\n| Prop                             | Default |  Type  | Description                                                                                                                                                                                                                                     |\n| :------------------------------- | :-----: | :----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| horizontal                       |  true   | `bool` | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column.                                                                                                                                     |\n| pagingEnabled                    |  true   | `bool` | If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.                                                                                                               |\n| showsHorizontalScrollIndicator   |  false  | `bool` | Set to `true` if you want to show horizontal scroll bar.                                                                                                                                                                                        |\n| showsVerticalScrollIndicator     |  false  | `bool` | Set to `true` if you want to show vertical scroll bar.                                                                                                                                                                                          |\n| bounces                          |  false  | `bool` | If `true`, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If `false`, it disables all bouncing even if the alwaysBounce\\* props are true. |\n| scrollsToTop                     |  false  | `bool` | If true, the scroll view scrolls to top when the status bar is tapped.                                                                                                                                                                          |\n| removeClippedSubviews            |  true   | `bool` | If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.                                                            |\n| automaticallyAdjustContentInsets |  false  | `bool` | Set to `true` if you need adjust content insets automation.                                                                                                                                                                                     |\n| scrollEnabled                    |  true   | `bool` | Enables/Disables swiping                                                                                                                                                                                                                        |\n\n> @see: http://facebook.github.io/react-native/docs/scrollview.html\n\n#### Supported ScrollResponder\n\n| Prop                |          Params           |    Type    | Description                                                 |\n| :------------------ | :-----------------------: | :--------: | :---------------------------------------------------------- |\n| onScrollBeginDrag   | `e` / `state` / `context` | `function` | When animation begins after letting up                      |\n| onMomentumScrollEnd | `e` / `state` / `context` | `function` | Makes no sense why this occurs first during bounce          |\n| onTouchStartCapture | `e` / `state` / `context` | `function` | Immediately after `onMomentumScrollEnd`                     |\n| onTouchStart        | `e` / `state` / `context` | `function` | Same, but bubble phase                                      |\n| onTouchEnd          | `e` / `state` / `context` | `function` | You could hold the touch start for a long time              |\n| onResponderRelease  | `e` / `state` / `context` | `function` | When lifting up - you could pause forever before \\* lifting |\n\n> Note: each ScrollResponder be injected with two params: `state` and `context`, you can get `state` and `context`(ref to swiper's `this`) from params, for example:\n\n```jsx\nvar swiper = React.createClass({\n  _onMomentumScrollEnd: function (e, state, context) {\n    console.log(state, context.state)\n  },\n  render: function() {\n    return (\n      <Swiper style={styles.wrapper}\n      onMomentumScrollEnd ={this._onMomentumScrollEnd}\n     ...\n      </Swiper>\n    )\n  }\n})\n```\n\n> More ScrollResponder info, see: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollResponder.js\n\n### Methods\n\n#### scrollBy(index, animated)\n\nScroll by relative index.\n\nParameters:\n\n| Name     |   Type   |   default   | Description  |\n| :------- | :------: | :---------: | :----------- |\n| index    | `number` | `undefined` | offset index |\n| animated |  `bool`  |   `true`    | offset index |\n\n### Examples\n\n```bash\n$ cd examples\n$ npm i\n$ react-native run-ios\n```\n\n> Quick start with [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/).\n\n### Development\n\n```bash\n$ cd examples\n$ npm i\n$ npm run dev\n$ react-native run-ios\n```\n\nThen launch simulator to preview. Note that you just need to edit the source file `src/index.js`, the change will auto sync to examples.\n\nAnd now that this project follows the [standard](https://github.com/feross/standard) code style, you'd better prepare it for IDE.\n\n## Contribution\n\n- [@leecade](mailto:leecade@163.com) The main author.\n- [@rajkissu](mailto:rajkissu@gmail.com) The secondary contributor.\n\n## Questions\n\nFeel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new)\n\n> Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥.\n","gitHead":"574435855d543fab926e433ef078928b6b7a43ee","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","commit":"npx git-cz","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.11.3","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.5.10"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^7.1.0","standard":"^13.0.1","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.6.0-rc.1_1569813738362_0.09740870939833113","host":"s3://npm-registry-packages"}},"1.6.0-rc.2":{"name":"react-native-swiper","version":"1.6.0-rc.2","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.6.0-rc.2","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"e280de5639c16a27f28849d51503269889ab3281","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.6.0-rc.2.tgz","fileCount":13,"integrity":"sha512-cPcTgZvqP1aWBq00f5BF8QYKM07oswFO+CYICqQRx//iml6S0JiDS9haoagLzNqt4ajDrs/gaYkYv3s63EFaqA==","signatures":[{"sig":"MEUCIAtHgMxTgR6eWTxXms/HHswLOHDo6dNupMAUwUiRBas9AiEAhIMkWEgu+33B7ywMaSE60pr1HHOzc3dSQ5UwGkWsTfo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmH8hCRA9TVsSAnZWagAASK0QAIOOX8RK8mdNsS1M4ME1\nEpten4ofu22VcWBxPJBD3OQVJhSpYVjtAo/3fzmessWKmMbf2KW+4eWXIQRw\n0f1fo10uf1mriirGIyEZZX3Tl/3TQOwhnmNa5I4d2VnrfYj+CxMRarqViQ18\ngMYWyZHuD58e1SpySSbpHQeYNj7pr+djjWofXAZ7nzDDWhwo6n4JJV4rTARc\nsK0Uccdyln+Njl0aQrO+WHHRTPZUdaX3rrqefmFrZHjNfKmMx8HoDyr5gl94\njJ3jBJl5zzJWXIYoY3/cuFkZfbtP492ALxD1k9Iu00jAWM5+HbWPdwIKJzE3\nm4MtARQJU2QvLhXFPwFsUHfRf54QGnLG4VqUxIqUGEVOsym1UEptFZW1gD2b\nxpSVNVp5sjsvX7govaIzyMD7WH/JMK/Mio9Ph2PU6IvWFcgk/jtplf9Gmtcq\nzBMnGo0LTCrn33NxIDe+/RbjoquLMtmLTsGNalhEvDpKJNRUjIO/gkEfFsCE\n30/TfZIIOhZwDEBwY2X8Yq/2iWjzjQMwpQh7IURzAehunjD1qBqi27HPPb+7\ndf68zxSSKdjGp7tY4bx4QZAbLM8yBrNOV5e8Lamk4YAufKurZ3uwvmpLxM0Z\nO7jGV3G1g77IBYsnt68HqiBPB59BwqXjKxzTidbvlkqxflCGlcj6cmN40VrP\nKAno\r\n=osT5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"readme":"<p align=\"center\">\n  <img alt=\"react-native-swiper\" src=\"http://i.imgur.com/P4cRUgD.png\" width=\"208\">\n</p>\n\n<p align=\"center\">\n  The best Swiper component for React Native.\n</p>\n\n<p align=\"center\">\n  <a href=\"http://standardjs.com/\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/v/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/dm/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/pulls?q=is%3Apr+is%3Aclosed\"><img alt=\"PR Stats\" src=\"https://img.shields.io/issuestats/i/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/issues?q=is%3Aissue+is%3Aclosed\"><img alt=\"Issue Stats\" src=\"https://img.shields.io/issuestats/p/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/leecade/react-native-swiper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\"><img alt=\"Join the chat\" src=\"https://badges.gitter.im/leecade/react-native-swiper.svg\"></a>\n</p>\n\n# react-native-swiper\n\n## Roadmap\n\n> see: [ROADMAP.md](ROADMAP.md)\n\n## Changelogs\n\n- **[1.6.0-rc]**\n  - Dependency\n    - Remove ViewPagerAndroid, use ScrollView #1009\n  - Test Integration\n    - Setup e2e test\n  - TypeScript\n    - correct the wrong types #1000\n    - Add missing scrollBy TypeScript definition #931\n  - New Feature\n    - add scrollTo #831\n    - Added prop to disable the PrevButton #749\n    - Optionally render page #1004\n  - Bug Fix\n    - ES6 and CommonJS compatibility #717\n    - Solves the issue of state messing up when parent component calls setState #939\n    - replay when autoplay is setted to true #1002\n    - fix broken examples and migrate to react-native 0.60.x\n    - fix bad jumping on ios when loadMinimal set true\n    - fix fliker when loop and loadMinimal are enabled #1062\n\n* [1.5.6]\n\n  - Fix [#16](https://github.com/leecade/react-native-swiper/issues/16), [#36](https://github.com/leecade/react-native-swiper/issues/36), [#371](https://github.com/leecade/react-native-swiper/issues/371), [#410](https://github.com/leecade/react-native-swiper/issues/410), [#411](https://github.com/leecade/react-native-swiper/issues/411), [#422](https://github.com/leecade/react-native-swiper/issues/422), [#468](https://github.com/leecade/react-native-swiper/issues/468) Fix landscape orientation auto resize! (thanks [@ahmed3mar](https://github.com/ahmed3mar), [@timmywil](https://github.com/timmywil))\n  - Add containerStyle prop to customize the view container.\n\n* [1.5.5]\n  - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes\n\n- [1.5.4]\n\n  - Added easily accessible pagination point manipulation: use `dotColor` / `activeDotColor` and `dotStyle` / `activeDotStyle` (thanks [@denizs](https://github.com/denizs))\n  - Added scrollEnabled prop to documentation (thanks [@ibandominguez](https://github.com/ibandominguez))\n\n- [1.5.3]\n\n  - Add loadMinimalLoader prop to customize `<ActivityIndicator />` (thanks [@Exilz](https://github.com/Exilz))\n  - Disable autoplay timer when prop changes to false (thanks [@dizlexik](https://github.com/dizlexik))\n  - Special thanks to [@hypatiah](https://github.com/dizlexik) for fixed some grammatical errors in README\n\n- [1.5.2]\n  - Add yarn lock\n  - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [@nemophrost](https://github.com/nemophrost))\n  - The first webview always reloaded when injecting the rest of the children (thanks [@eosterberg](https://github.com/eosterberg))\n\n> see more: [CHANGELOG.md](CHANGELOG.md)\n\n## Show Cases\n\n> Try these cases by yourself very easy, Just open `examples/ios/swiper.xcodeproj` in Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases.\n\n### [examples/components/Basic](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic)\n\n![](http://i.imgur.com/zrsazAG.gif=300x)\n\n### [examples/components/Swiper](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Swiper)\n\n![](http://i.imgur.com/hP3f3oO.gif=300x)\n\n### [examples/components/SwiperNumber](https://github.com/leecade/react-native-swiper/blob/master/examples/components/SwiperNumber)\n\n![](http://i.imgur.com/0rqESVb.gif=300x)\n\n### [examples/components/Phone](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Phone)\n\n![](http://i.imgur.com/c1BhjZm.gif=300x)\n\n### [examples/components/LoadMinimal](https://github.com/leecade/react-native-swiper/blob/master/examples/components/LoadMinimal)\n\n![](http://i.imgur.com/LAOHbJA.gif=300x)\n\n## Getting Started\n\n- [Installation](#installation)\n- [Basic Usage](#basic-usage)\n- [Properties](#properties)\n  - [Basic](#basic)\n  - [Custom basic style & content](#custom-basic-style--content)\n  - [Pagination](#pagination)\n  - [Autoplay](#autoplay)\n  - [Control buttons](#control-buttons)\n  - [Props of Children](#props-of-children)\n  - [Basic props of `<ScrollView />`](#basic-props-of-scrollview-)\n  - [Supported ScrollResponder](#supported-scrollresponder)\n- [Examples](#examples)\n- [Development](#development)\n\n### Installation\n\n> v1.5.14\n\n```bash\n$ npm i react-native-swiper --save\n```\n\n> v1.6.0-rc\n\n```\nnpm i --save react-native-swiper@next\n```\n\n### Basic Usage\n\n- Install `react-native` first\n\n```bash\n$ npm i react-native-cli -g\n```\n\n- Initialization of a react-native project\n\n```bash\n$ react-native init myproject\n```\n\n- Then, edit `myproject/index.ios.js`, like this:\n\n```jsx\nimport React, { Component } from 'react'\nimport { AppRegistry, StyleSheet, Text, View } from 'react-native'\n\nimport Swiper from 'react-native-swiper'\n\nconst styles = StyleSheet.create({\n  wrapper: {},\n  slide1: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#9DD6EB'\n  },\n  slide2: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#97CAE5'\n  },\n  slide3: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#92BBD9'\n  },\n  text: {\n    color: '#fff',\n    fontSize: 30,\n    fontWeight: 'bold'\n  }\n})\n\nexport default class SwiperComponent extends Component {\n  render() {\n    return (\n      <Swiper style={styles.wrapper} showsButtons={true}>\n        <View style={styles.slide1}>\n          <Text style={styles.text}>Hello Swiper</Text>\n        </View>\n        <View style={styles.slide2}>\n          <Text style={styles.text}>Beautiful</Text>\n        </View>\n        <View style={styles.slide3}>\n          <Text style={styles.text}>And simple</Text>\n        </View>\n      </Swiper>\n    )\n  }\n}\n\nAppRegistry.registerComponent('myproject', () => SwiperComponent)\n```\n\n### Properties\n\n#### Basic\n\n| Prop           |     Default     |   Type   | Description                                                                                                 |\n| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |\n| horizontal     |      true       |  `bool`  | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column. |\n| loop           |      true       |  `bool`  | Set to `false` to disable continuous loop mode.                                                             |\n| index          |        0        | `number` | Index number of initial slide.                                                                              |\n| showsButtons   |      false      |  `bool`  | Set to `true` make control buttons visible.                                                                 |\n| autoplay       |      false      |  `bool`  | Set to `true` enable auto play mode.                                                                        |\n| onIndexChanged | (index) => null |  `func`  | Called with the new index when the user swiped                                                              |\n\n#### Custom basic style & content\n\n| Prop              |         Default         |   Type    | Description                                                                |\n| :---------------- | :---------------------: | :-------: | :------------------------------------------------------------------------- |\n| width             |            -            | `number`  | If no specify default enable fullscreen mode by `flex: 1`.                 |\n| height            |            -            | `number`  | If no specify default fullscreen mode by `flex: 1`.                        |\n| style             |          {...}          |  `style`  | See default style in source.                                               |\n| containerStyle    |          {...}          |  `style`  | See default container style in source.                                     |\n| loadMinimal       |          false          |  `bool`   | Only load current index slide , `loadMinimalSize` slides before and after. |\n| loadMinimalSize   |            1            | `number`  | see `loadMinimal`                                                          |\n| loadMinimalLoader | `<ActivityIndicator />` | `element` | Custom loader to display when slides aren't loaded                         |\n\n#### Pagination\n\n| Prop             |                                                                          Default                                                                          |    Type    | Description                                                                                                                                                                                   |\n| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| showsPagination  |                                                                           true                                                                            |   `bool`   | Set to `true` make pagination visible.                                                                                                                                                        |\n| paginationStyle  |                                                                           {...}                                                                           |  `style`   | Custom styles will merge with the default styles.                                                                                                                                             |\n| renderPagination |                                                                             -                                                                             | `function` | Complete control how to render pagination with three params (`index`, `total`, `context`) ref to `this.state.index` / `this.state.total` / `this`, For example: show numbers instead of dots. |\n| dot              | `<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 8, height: 8,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />` | `element`  | Allow custom the dot element.                                                                                                                                                                 |\n| activeDot        |   `<View style={{backgroundColor: '#007aff', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />`    | `element`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotStyle         |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotColor         |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotColor   |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotStyle   |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n\n#### Autoplay\n\n| Prop              | Default |   Type   | Description                                      |\n| :---------------- | :-----: | :------: | :----------------------------------------------- |\n| autoplay          |  true   |  `bool`  | Set to `true` enable auto play mode.             |\n| autoplayTimeout   |   2.5   | `number` | Delay between auto play transitions (in second). |\n| autoplayDirection |  true   |  `bool`  | Cycle direction control.                         |\n\n#### Control buttons\n\n| Prop               |                                                                                                   Default                                                                                                   |   Type    | Description                                 |\n| :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------: | :------------------------------------------ |\n| showsButtons       |                                                                                                    true                                                                                                     |  `bool`   | Set to `true` make control buttons visible. |\n| buttonWrapperStyle | `{backgroundColor: 'transparent', flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 10, justifyContent: 'space-between', alignItems: 'center'}` |  `style`  | Custom styles.                              |\n| nextButton         |                                                                                 `<Text style={styles.buttonText}>›</Text>`                                                                                  | `element` | Allow custom the next button.               |\n| prevButton         |                                                                                 `<Text style={styles.buttonText}>‹</Text>`                                                                                  | `element` | Allow custom the prev button.               |\n\n#### Props of Children\n\n| Prop  |               Default                |   Type    | Description                                                    |\n| :---- | :----------------------------------: | :-------: | :------------------------------------------------------------- |\n| style |                {...}                 |  `style`  | Custom styles will merge with the default styles.              |\n| title | {<Text numberOfLines={1}>...</Text>} | `element` | If this parameter is not specified, will not render the title. |\n\n#### Basic props of `<ScrollView />`\n\n| Prop                             | Default |  Type  | Description                                                                                                                                                                                                                                     |\n| :------------------------------- | :-----: | :----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| horizontal                       |  true   | `bool` | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column.                                                                                                                                     |\n| pagingEnabled                    |  true   | `bool` | If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.                                                                                                               |\n| showsHorizontalScrollIndicator   |  false  | `bool` | Set to `true` if you want to show horizontal scroll bar.                                                                                                                                                                                        |\n| showsVerticalScrollIndicator     |  false  | `bool` | Set to `true` if you want to show vertical scroll bar.                                                                                                                                                                                          |\n| bounces                          |  false  | `bool` | If `true`, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If `false`, it disables all bouncing even if the alwaysBounce\\* props are true. |\n| scrollsToTop                     |  false  | `bool` | If true, the scroll view scrolls to top when the status bar is tapped.                                                                                                                                                                          |\n| removeClippedSubviews            |  true   | `bool` | If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.                                                            |\n| automaticallyAdjustContentInsets |  false  | `bool` | Set to `true` if you need adjust content insets automation.                                                                                                                                                                                     |\n| scrollEnabled                    |  true   | `bool` | Enables/Disables swiping                                                                                                                                                                                                                        |\n\n> @see: http://facebook.github.io/react-native/docs/scrollview.html\n\n#### Supported ScrollResponder\n\n| Prop                |          Params           |    Type    | Description                                                 |\n| :------------------ | :-----------------------: | :--------: | :---------------------------------------------------------- |\n| onScrollBeginDrag   | `e` / `state` / `context` | `function` | When animation begins after letting up                      |\n| onMomentumScrollEnd | `e` / `state` / `context` | `function` | Makes no sense why this occurs first during bounce          |\n| onTouchStartCapture | `e` / `state` / `context` | `function` | Immediately after `onMomentumScrollEnd`                     |\n| onTouchStart        | `e` / `state` / `context` | `function` | Same, but bubble phase                                      |\n| onTouchEnd          | `e` / `state` / `context` | `function` | You could hold the touch start for a long time              |\n| onResponderRelease  | `e` / `state` / `context` | `function` | When lifting up - you could pause forever before \\* lifting |\n\n> Note: each ScrollResponder be injected with two params: `state` and `context`, you can get `state` and `context`(ref to swiper's `this`) from params, for example:\n\n```jsx\nvar swiper = React.createClass({\n  _onMomentumScrollEnd: function (e, state, context) {\n    console.log(state, context.state)\n  },\n  render: function() {\n    return (\n      <Swiper style={styles.wrapper}\n      onMomentumScrollEnd ={this._onMomentumScrollEnd}\n     ...\n      </Swiper>\n    )\n  }\n})\n```\n\n> More ScrollResponder info, see: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollResponder.js\n\n### Methods\n\n#### scrollBy(index, animated)\n\nScroll by relative index.\n\nParameters:\n\n| Name     |   Type   |   default   | Description  |\n| :------- | :------: | :---------: | :----------- |\n| index    | `number` | `undefined` | offset index |\n| animated |  `bool`  |   `true`    | offset index |\n\n### Examples\n\n```bash\n$ cd examples\n$ npm i\n$ react-native run-ios\n```\n\n> Quick start with [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/).\n\n### Development\n\n```bash\n$ cd examples\n$ yarn\n$ yarn start\n$ react-native run-ios\n```\n\nThen launch simulator to preview. Note that you just need to edit the source file `src/index.js`, the change will auto sync to examples.\n\nAfter development, you should add test for your modification and make all tests passed to prevent other contributors break the feature in the future accidentally. We use detox + jest for e2e test now, you can read [Detox](https://github.com/wix/Detox) for more detail.\n\n## Contribution\n\n- [@leecade](mailto:leecade@163.com) The main author.\n- [@rajkissu](mailto:rajkissu@gmail.com) The secondary contributor.\n\n## Questions\n\nFeel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new)\n\n> Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥.\n","gitHead":"ee680eda6875ea2a3342526528f391a156d3e8ed","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","commit":"npx git-cz","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.11.3","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.5.10"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^7.1.0","standard":"^13.0.1","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.6.0-rc.2_1570275104215_0.5735246868224817","host":"s3://npm-registry-packages"}},"1.6.0-rc.3":{"name":"react-native-swiper","version":"1.6.0-rc.3","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.6.0-rc.3","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"ece82906d908c6a78a0b75fa41982ffc2cd2fb20","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.6.0-rc.3.tgz","fileCount":13,"integrity":"sha512-aZk6M7WsFdxlfHfS6OKb7gsaS3q7Z4Oqm8iTyJO7duE28EUK9kzfA2Cp5S6FdZkGXoWCXoUFGlzaO0lnhW/jtw==","signatures":[{"sig":"MEQCIC1XIMhau+DqZykAlkJHC/aq55hC+FzVVgqk7tD8umi9AiBzxEJxygAJ3KsuNotkQi2b2yS2uHvNUOu7+ZXtRtF3fw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnYeRCRA9TVsSAnZWagAAd4UP/jiyIZug/m494grWhFaD\nPCqqjV2YvKe8lBysNsXC87pn87lVkkI2ZKYUg0EOL4/OHCL49o1w9sL0pR21\nqfT2QKRZRnZaF2bC1wCgbaeCM2Pe9EShXXlW6AqiV75xrfc93EYzwC5Jz7Hd\nlxl5mpylkdXt1a6Y3P1n76ayl3C3BlHfzpDMddxaA5sZSWj9FBR9L4kNwbJn\nmTBzhxkR0eZz+USFuhEtIf3IPGiJClTgw46OJWZEsKxikrBY5i8LEq4BRS7z\nVJvrwGG3FUvOpbkL9DA6vfXGxWbWSFWtP0ArH45Fvm/x5wNC1M7GzEx4/BME\n+Qj+k8vavL1Vp4M3JIucCOVWkUrdvnEiMEUzQEdtNNjWsHS1zjl/Eg26/Qug\nebptGYb1EB1A7QxxOMclUB5AtcNETyyJ21XNHSgmDDUDabHhS5k7LJq1JXsz\nb2f+w+31FSQvq/Xy0PpPkSfuSxtVGiVirTo9bqaAaDXZ4WBALacJzHOdKjxU\n4bu2YSN7Jjj93kGxXmiaCWWiz7lEkdEJQmagOFa24MPr9EKQPNTdHCk6eZr0\ndE8EACP0X7k7CaWDUgCCdWSTUaWgZYf//HvVWgwpmdTIrskI0xBmBhlMN+pB\nnzE9TQBs+c2APGI1Z0q4VJfRi2IoMFzVYLsDFg+EPmWf1cL/L34nrpsetBmi\nIKwk\r\n=34jX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"readme":"<p align=\"center\">\n  <img alt=\"react-native-swiper\" src=\"http://i.imgur.com/P4cRUgD.png\" width=\"208\">\n</p>\n\n<p align=\"center\">\n  The best Swiper component for React Native.\n</p>\n\n<p align=\"center\">\n  <a href=\"http://standardjs.com/\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/v/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/dm/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/pulls?q=is%3Apr+is%3Aclosed\"><img alt=\"PR Stats\" src=\"https://img.shields.io/issuestats/i/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/issues?q=is%3Aissue+is%3Aclosed\"><img alt=\"Issue Stats\" src=\"https://img.shields.io/issuestats/p/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/leecade/react-native-swiper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\"><img alt=\"Join the chat\" src=\"https://badges.gitter.im/leecade/react-native-swiper.svg\"></a>\n</p>\n\n# react-native-swiper\n\n## Roadmap\n\n> see: [ROADMAP.md](ROADMAP.md)\n\n## Changelogs\n\n- **[1.6.0-rc]**\n  - Dependency\n    - Remove ViewPagerAndroid, use ScrollView #1009\n  - Test Integration\n    - Setup e2e test\n  - TypeScript\n    - correct the wrong types #1000\n    - Add missing scrollBy TypeScript definition #931\n  - New Feature\n    - add scrollTo #831\n    - Added prop to disable the PrevButton #749\n    - Optionally render page #1004\n  - Bug Fix\n    - ES6 and CommonJS compatibility #717\n    - Solves the issue of state messing up when parent component calls setState #939\n    - replay when autoplay is setted to true #1002\n    - fix broken examples and migrate to react-native 0.60.x\n    - fix bad jumping on ios when loadMinimal set true\n    - fix fliker when loop and loadMinimal are enabled #1062\n\n* [1.5.6]\n\n  - Fix [#16](https://github.com/leecade/react-native-swiper/issues/16), [#36](https://github.com/leecade/react-native-swiper/issues/36), [#371](https://github.com/leecade/react-native-swiper/issues/371), [#410](https://github.com/leecade/react-native-swiper/issues/410), [#411](https://github.com/leecade/react-native-swiper/issues/411), [#422](https://github.com/leecade/react-native-swiper/issues/422), [#468](https://github.com/leecade/react-native-swiper/issues/468) Fix landscape orientation auto resize! (thanks [@ahmed3mar](https://github.com/ahmed3mar), [@timmywil](https://github.com/timmywil))\n  - Add containerStyle prop to customize the view container.\n\n* [1.5.5]\n  - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes\n\n- [1.5.4]\n\n  - Added easily accessible pagination point manipulation: use `dotColor` / `activeDotColor` and `dotStyle` / `activeDotStyle` (thanks [@denizs](https://github.com/denizs))\n  - Added scrollEnabled prop to documentation (thanks [@ibandominguez](https://github.com/ibandominguez))\n\n- [1.5.3]\n\n  - Add loadMinimalLoader prop to customize `<ActivityIndicator />` (thanks [@Exilz](https://github.com/Exilz))\n  - Disable autoplay timer when prop changes to false (thanks [@dizlexik](https://github.com/dizlexik))\n  - Special thanks to [@hypatiah](https://github.com/dizlexik) for fixed some grammatical errors in README\n\n- [1.5.2]\n  - Add yarn lock\n  - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [@nemophrost](https://github.com/nemophrost))\n  - The first webview always reloaded when injecting the rest of the children (thanks [@eosterberg](https://github.com/eosterberg))\n\n> see more: [CHANGELOG.md](CHANGELOG.md)\n\n## Show Cases\n\n> Try these cases by yourself very easy, Just open `examples/ios/swiper.xcodeproj` in Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases.\n\n### [examples/components/Basic](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic)\n\n![](http://i.imgur.com/zrsazAG.gif=300x)\n\n### [examples/components/Swiper](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Swiper)\n\n![](http://i.imgur.com/hP3f3oO.gif=300x)\n\n### [examples/components/SwiperNumber](https://github.com/leecade/react-native-swiper/blob/master/examples/components/SwiperNumber)\n\n![](http://i.imgur.com/0rqESVb.gif=300x)\n\n### [examples/components/Phone](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Phone)\n\n![](http://i.imgur.com/c1BhjZm.gif=300x)\n\n### [examples/components/LoadMinimal](https://github.com/leecade/react-native-swiper/blob/master/examples/components/LoadMinimal)\n\n![](http://i.imgur.com/LAOHbJA.gif=300x)\n\n## Getting Started\n\n- [Installation](#installation)\n- [Basic Usage](#basic-usage)\n- [Properties](#properties)\n  - [Basic](#basic)\n  - [Custom basic style & content](#custom-basic-style--content)\n  - [Pagination](#pagination)\n  - [Autoplay](#autoplay)\n  - [Control buttons](#control-buttons)\n  - [Props of Children](#props-of-children)\n  - [Basic props of `<ScrollView />`](#basic-props-of-scrollview-)\n  - [Supported ScrollResponder](#supported-scrollresponder)\n- [Examples](#examples)\n- [Development](#development)\n\n### Installation\n\n> v1.5.14\n\n```bash\n$ npm i react-native-swiper --save\n```\n\n> v1.6.0-rc\n\n```\nnpm i --save react-native-swiper@next\n```\n\n### Basic Usage\n\n- Install `react-native` first\n\n```bash\n$ npm i react-native-cli -g\n```\n\n- Initialization of a react-native project\n\n```bash\n$ react-native init myproject\n```\n\n- Then, edit `myproject/index.ios.js`, like this:\n\n```jsx\nimport React, { Component } from 'react'\nimport { AppRegistry, StyleSheet, Text, View } from 'react-native'\n\nimport Swiper from 'react-native-swiper'\n\nconst styles = StyleSheet.create({\n  wrapper: {},\n  slide1: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#9DD6EB'\n  },\n  slide2: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#97CAE5'\n  },\n  slide3: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#92BBD9'\n  },\n  text: {\n    color: '#fff',\n    fontSize: 30,\n    fontWeight: 'bold'\n  }\n})\n\nexport default class SwiperComponent extends Component {\n  render() {\n    return (\n      <Swiper style={styles.wrapper} showsButtons={true}>\n        <View style={styles.slide1}>\n          <Text style={styles.text}>Hello Swiper</Text>\n        </View>\n        <View style={styles.slide2}>\n          <Text style={styles.text}>Beautiful</Text>\n        </View>\n        <View style={styles.slide3}>\n          <Text style={styles.text}>And simple</Text>\n        </View>\n      </Swiper>\n    )\n  }\n}\n\nAppRegistry.registerComponent('myproject', () => SwiperComponent)\n```\n\n### Properties\n\n#### Basic\n\n| Prop           |     Default     |   Type   | Description                                                                                                 |\n| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |\n| horizontal     |      true       |  `bool`  | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column. |\n| loop           |      true       |  `bool`  | Set to `false` to disable continuous loop mode.                                                             |\n| index          |        0        | `number` | Index number of initial slide.                                                                              |\n| showsButtons   |      false      |  `bool`  | Set to `true` make control buttons visible.                                                                 |\n| autoplay       |      false      |  `bool`  | Set to `true` enable auto play mode.                                                                        |\n| onIndexChanged | (index) => null |  `func`  | Called with the new index when the user swiped                                                              |\n\n#### Custom basic style & content\n\n| Prop              |         Default         |   Type    | Description                                                                |\n| :---------------- | :---------------------: | :-------: | :------------------------------------------------------------------------- |\n| width             |            -            | `number`  | If no specify default enable fullscreen mode by `flex: 1`.                 |\n| height            |            -            | `number`  | If no specify default fullscreen mode by `flex: 1`.                        |\n| style             |          {...}          |  `style`  | See default style in source.                                               |\n| containerStyle    |          {...}          |  `style`  | See default container style in source.                                     |\n| loadMinimal       |          false          |  `bool`   | Only load current index slide , `loadMinimalSize` slides before and after. |\n| loadMinimalSize   |            1            | `number`  | see `loadMinimal`                                                          |\n| loadMinimalLoader | `<ActivityIndicator />` | `element` | Custom loader to display when slides aren't loaded                         |\n\n#### Pagination\n\n| Prop             |                                                                          Default                                                                          |    Type    | Description                                                                                                                                                                                   |\n| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| showsPagination  |                                                                           true                                                                            |   `bool`   | Set to `true` make pagination visible.                                                                                                                                                        |\n| paginationStyle  |                                                                           {...}                                                                           |  `style`   | Custom styles will merge with the default styles.                                                                                                                                             |\n| renderPagination |                                                                             -                                                                             | `function` | Complete control how to render pagination with three params (`index`, `total`, `context`) ref to `this.state.index` / `this.state.total` / `this`, For example: show numbers instead of dots. |\n| dot              | `<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 8, height: 8,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />` | `element`  | Allow custom the dot element.                                                                                                                                                                 |\n| activeDot        |   `<View style={{backgroundColor: '#007aff', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />`    | `element`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotStyle         |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotColor         |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotColor   |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotStyle   |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n\n#### Autoplay\n\n| Prop              | Default |   Type   | Description                                      |\n| :---------------- | :-----: | :------: | :----------------------------------------------- |\n| autoplay          |  true   |  `bool`  | Set to `true` enable auto play mode.             |\n| autoplayTimeout   |   2.5   | `number` | Delay between auto play transitions (in second). |\n| autoplayDirection |  true   |  `bool`  | Cycle direction control.                         |\n\n#### Control buttons\n\n| Prop               |                                                                                                   Default                                                                                                   |   Type    | Description                                 |\n| :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------: | :------------------------------------------ |\n| showsButtons       |                                                                                                    true                                                                                                     |  `bool`   | Set to `true` make control buttons visible. |\n| buttonWrapperStyle | `{backgroundColor: 'transparent', flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 10, justifyContent: 'space-between', alignItems: 'center'}` |  `style`  | Custom styles.                              |\n| nextButton         |                                                                                 `<Text style={styles.buttonText}>›</Text>`                                                                                  | `element` | Allow custom the next button.               |\n| prevButton         |                                                                                 `<Text style={styles.buttonText}>‹</Text>`                                                                                  | `element` | Allow custom the prev button.               |\n\n#### Props of Children\n\n| Prop  |               Default                |   Type    | Description                                                    |\n| :---- | :----------------------------------: | :-------: | :------------------------------------------------------------- |\n| style |                {...}                 |  `style`  | Custom styles will merge with the default styles.              |\n| title | {<Text numberOfLines={1}>...</Text>} | `element` | If this parameter is not specified, will not render the title. |\n\n#### Basic props of `<ScrollView />`\n\n| Prop                             | Default |  Type  | Description                                                                                                                                                                                                                                     |\n| :------------------------------- | :-----: | :----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| horizontal                       |  true   | `bool` | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column.                                                                                                                                     |\n| pagingEnabled                    |  true   | `bool` | If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.                                                                                                               |\n| showsHorizontalScrollIndicator   |  false  | `bool` | Set to `true` if you want to show horizontal scroll bar.                                                                                                                                                                                        |\n| showsVerticalScrollIndicator     |  false  | `bool` | Set to `true` if you want to show vertical scroll bar.                                                                                                                                                                                          |\n| bounces                          |  false  | `bool` | If `true`, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If `false`, it disables all bouncing even if the alwaysBounce\\* props are true. |\n| scrollsToTop                     |  false  | `bool` | If true, the scroll view scrolls to top when the status bar is tapped.                                                                                                                                                                          |\n| removeClippedSubviews            |  true   | `bool` | If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.                                                            |\n| automaticallyAdjustContentInsets |  false  | `bool` | Set to `true` if you need adjust content insets automation.                                                                                                                                                                                     |\n| scrollEnabled                    |  true   | `bool` | Enables/Disables swiping                                                                                                                                                                                                                        |\n\n> @see: http://facebook.github.io/react-native/docs/scrollview.html\n\n#### Supported ScrollResponder\n\n| Prop                |          Params           |    Type    | Description                                                 |\n| :------------------ | :-----------------------: | :--------: | :---------------------------------------------------------- |\n| onScrollBeginDrag   | `e` / `state` / `context` | `function` | When animation begins after letting up                      |\n| onMomentumScrollEnd | `e` / `state` / `context` | `function` | Makes no sense why this occurs first during bounce          |\n| onTouchStartCapture | `e` / `state` / `context` | `function` | Immediately after `onMomentumScrollEnd`                     |\n| onTouchStart        | `e` / `state` / `context` | `function` | Same, but bubble phase                                      |\n| onTouchEnd          | `e` / `state` / `context` | `function` | You could hold the touch start for a long time              |\n| onResponderRelease  | `e` / `state` / `context` | `function` | When lifting up - you could pause forever before \\* lifting |\n\n> Note: each ScrollResponder be injected with two params: `state` and `context`, you can get `state` and `context`(ref to swiper's `this`) from params, for example:\n\n```jsx\nvar swiper = React.createClass({\n  _onMomentumScrollEnd: function (e, state, context) {\n    console.log(state, context.state)\n  },\n  render: function() {\n    return (\n      <Swiper style={styles.wrapper}\n      onMomentumScrollEnd ={this._onMomentumScrollEnd}\n     ...\n      </Swiper>\n    )\n  }\n})\n```\n\n> More ScrollResponder info, see: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollResponder.js\n\n### Methods\n\n#### scrollBy(index, animated)\n\nScroll by relative index.\n\nParameters:\n\n| Name     |   Type   |   default   | Description  |\n| :------- | :------: | :---------: | :----------- |\n| index    | `number` | `undefined` | offset index |\n| animated |  `bool`  |   `true`    | offset index |\n\n### Examples\n\n```bash\n$ cd examples\n$ npm i\n$ react-native run-ios\n```\n\n> Quick start with [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/).\n\n### Development\n\n```bash\n$ cd examples\n$ yarn\n$ yarn start\n$ react-native run-ios\n```\n\nThen launch simulator to preview. Note that you just need to edit the source file `src/index.js`, the change will auto sync to examples.\n\nAfter development, you should add test for your modification and make all tests passed to prevent other contributors break the feature in the future accidentally. We use detox + jest for e2e test now, you can read [Detox](https://github.com/wix/Detox) for more detail.\n\n## Contribution\n\n- [@leecade](mailto:leecade@163.com) The main author.\n- [@rajkissu](mailto:rajkissu@gmail.com) The secondary contributor.\n\n## Questions\n\nFeel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new)\n\n> Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥.\n","gitHead":"11699645bc11d652f0992dd1958a6d3dd5c33c45","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","commit":"npx git-cz","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.11.3","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.5.10"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^7.1.0","standard":"^13.0.1","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.6.0-rc.3_1570604944947_0.03960524969649515","host":"s3://npm-registry-packages"}},"1.6.0":{"name":"react-native-swiper","version":"1.6.0","keywords":["react-component","react-native","ios"],"author":"","license":"MIT","_id":"react-native-swiper@1.6.0","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"homepage":"https://github.com/leecade/react-native-swiper#readme","bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"ava":{"babel":"inherit","require":[]},"dist":{"shasum":"59fdbdf95addee49630312f27077622c27776819","tarball":"https://registry.npmjs.org/react-native-swiper/-/react-native-swiper-1.6.0.tgz","fileCount":13,"integrity":"sha512-OnkTTZi+9uZUgy0uz1I9oYDhCU3z36lZn+LFsk9FXPRelxb/KeABzvPs3r3SrHWy1aA67KGtSFj0xNK2QD0NJQ==","signatures":[{"sig":"MEYCIQDCUJEdyMVOQ9gn3aZt12H53TJlbr+jm2x4F6EoqZuwxgIhAIrgC/QGNpqqG9u3/586nm/KVRZw2sk1zUvXMba/sVM/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehukVCRA9TVsSAnZWagAAWI8P/RgDe5pdWq3e7JOn7S0/\n8as+culUPu6r1P0pvpM2gAQQ8iYVtzFfT5hXrtOm8dtkftsgPcLzjZlouNg5\nTFT98tEdrsZK5zAAzTlKv6HzJYN658YgwAs5JZr1bt1Vfibja/QmJshFyAfB\n+MIy/1Eb+W+4BHrHptP9KVWjOQBoKmYdEMmTdYGo/IPCaYMY6WXMaJs6UeQL\nmrOt2XJ9LzQBJSNXqi8s+xzgYEVyRQilSEA7uu1BMCpUdaoN5KJBBbINEc8i\nNzUP9c/LgLXIHbBHPLS1Q7xPxEzHo5ncKvRrAt3tECnfwThOhVeHgaNHTptS\nG0C0dKAHykP9M13fVuIHy8QIcxHT1B+ntKKv0G+9mTQXorpEe+zfA0VibrHs\naMuDaZ4V6pYm/iDMe2a0xsHZLcmJDsz8pdtWACcOGYa8V0OsAn9LdZ9FHrL7\nGfCIlOT4z2A1xnWNjw6GLjSUmYcaj67xss14cMtSU2obIjJ46plU/BfHwri7\nQlUG9FBtuEmR1/ypWcU9L1V75apqNdiuJROKFk8CN6WeyrTRTWm5nsi6m7cS\nSyW6qPnFqBdzX591u4AoESJOQ89UXT+ll7qTEDcGXFflZUHGtf5sKq1LWYjb\nCkR4jeo2LSpDxMZ/Rr4uoitgiHP45AuLAwbdSKtRB/bR8oL/rIf4gL/U9AAh\noUdC\r\n=edNa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"11699645bc11d652f0992dd1958a6d3dd5c33c45","scripts":{"lint":"standard | snazzy","test":"npm run lint","start":"react-native start","commit":"npx git-cz","update":"updtr","precommit":"git diff --name-only --cached --relative | grep '\\.jsx\\?$' | xargs standard | snazzy; if [ $? -ne 0 ]; then exit 1; fi"},"_npmUser":{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},"standard":{"global":["__DEV__","FormData","requestAnimationFrame","alert","setImmediate","fetch"],"ignore":["dist/","mock/","node_modules/"],"parser":"babel-eslint"},"pre-commit":{"run":["precommit"],"silent":true},"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"_npmVersion":"6.13.7","description":"Swiper component for React Native.","directories":{},"_nodeVersion":"12.10.0","dependencies":{"prop-types":"^15.5.10"},"_hasShrinkwrap":false,"devDependencies":{"updtr":"^2.0.0","rimraf":"^2.5.4","snazzy":"^7.1.0","standard":"^13.0.1","babel-eslint":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-native-swiper_1.6.0_1585899796988_0.2072312868470927","host":"s3://npm-registry-packages"}}},"time":{"created":"2015-04-20T15:26:00.368Z","modified":"2025-02-02T20:46:25.111Z","1.0.0":"2015-04-20T15:26:00.368Z","1.0.1":"2015-04-22T18:07:49.303Z","1.0.2":"2015-04-22T18:18:46.517Z","1.0.3":"2015-04-23T09:02:16.256Z","1.0.4":"2015-04-23T21:27:51.386Z","1.1.0":"2015-04-29T02:17:52.129Z","1.1.1":"2015-04-30T09:09:47.944Z","1.2.0":"2015-05-01T09:40:33.791Z","1.2.1":"2015-05-02T06:15:47.372Z","1.2.2":"2015-05-02T06:25:33.216Z","1.3.0":"2015-05-04T10:37:04.127Z","1.4.0":"2015-12-22T17:14:16.689Z","1.4.1":"2015-12-22T18:58:43.459Z","1.4.2":"2015-12-23T09:23:13.180Z","1.4.3":"2015-12-23T09:34:07.691Z","1.4.4":"2016-05-21T10:32:29.688Z","1.4.5":"2016-05-27T12:31:25.620Z","1.4.6":"2016-07-01T10:20:45.319Z","1.4.7":"2016-07-20T03:05:38.253Z","1.4.8":"2016-07-31T22:56:57.381Z","1.4.9":"2016-08-15T23:29:07.709Z","1.4.10":"2016-08-21T23:38:11.687Z","1.4.11":"2016-08-25T01:26:15.581Z","1.5.0":"2016-10-08T08:46:25.087Z","1.5.1":"2016-10-08T19:28:30.478Z","1.5.2":"2016-10-17T17:03:40.085Z","1.5.3":"2016-11-02T02:50:09.116Z","1.5.4":"2016-11-21T00:34:26.795Z","1.5.5":"2017-08-04T19:30:12.800Z","1.5.7":"2017-08-08T07:15:52.327Z","1.5.8":"2017-08-09T19:57:22.431Z","1.5.9":"2017-08-11T09:17:40.800Z","1.5.10":"2017-08-14T13:29:38.618Z","1.5.11":"2017-09-06T20:09:41.000Z","1.5.12":"2017-09-11T19:25:31.710Z","1.5.13":"2017-10-02T18:10:57.049Z","1.5.14":"2018-11-26T10:20:49.138Z","1.6.0-dev":"2019-06-26T04:09:34.641Z","1.6.0-nightly.0":"2019-06-26T14:35:37.990Z","1.6.0-nightly.1":"2019-06-28T09:59:42.681Z","1.6.0-dev.1":"2019-07-02T05:40:01.982Z","1.6.0-nightly.2":"2019-07-09T07:47:09.252Z","1.6.0-nightly.3":"2019-07-15T07:27:05.606Z","1.6.0-nightly.5":"2019-09-22T13:10:32.676Z","1.6.0-rc.0":"2019-09-29T10:06:54.683Z","1.6.0-rc.1":"2019-09-30T03:22:18.509Z","1.6.0-rc.2":"2019-10-05T11:31:44.459Z","1.6.0-rc.3":"2019-10-09T07:09:05.099Z","1.6.0":"2020-04-03T07:43:17.379Z"},"bugs":{"url":"https://github.com/leecade/react-native-swiper/issues"},"license":"MIT","homepage":"https://github.com/leecade/react-native-swiper#readme","keywords":["react-component","react-native","ios"],"repository":{"url":"git+https://github.com/leecade/react-native-swiper.git","type":"git"},"description":"Swiper component for React Native.","maintainers":[{"name":"arrayzoneyour","email":"hustliyidong@gmail.com"},{"name":"arribbar","email":"bart@getkumbu.com"},{"name":"leecade","email":"leecade@163.com"},{"name":"mrdezzods","email":"bvsapkota@gmail.com"},{"name":"rajkissu","email":"rajkissu@gmail.com"},{"name":"tasiyo7333","email":"taisyo9170@yahoo.co.jp"}],"readme":"<p align=\"center\">\n  <img alt=\"react-native-swiper\" src=\"http://i.imgur.com/P4cRUgD.png\" width=\"208\">\n</p>\n\n<p align=\"center\">\n  The best Swiper component for React Native.\n</p>\n\n<p align=\"center\">\n  <a href=\"http://standardjs.com/\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/v/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://npmjs.org/package/react-native-swiper\"><img alt=\"npm version\" src=\"http://img.shields.io/npm/dm/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/pulls?q=is%3Apr+is%3Aclosed\"><img alt=\"PR Stats\" src=\"https://img.shields.io/issuestats/i/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://github.com/leecade/react-native-swiper/issues?q=is%3Aissue+is%3Aclosed\"><img alt=\"Issue Stats\" src=\"https://img.shields.io/issuestats/p/github/leecade/react-native-swiper.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/leecade/react-native-swiper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\"><img alt=\"Join the chat\" src=\"https://badges.gitter.im/leecade/react-native-swiper.svg\"></a>\n</p>\n\n# react-native-swiper\n\n## Roadmap\n\n> see: [ROADMAP.md](ROADMAP.md)\n\n## Changelogs\n\n- **[1.6.0-rc]**\n  - Dependency\n    - Remove ViewPagerAndroid, use ScrollView #1009\n  - Test Integration\n    - Setup e2e test\n  - TypeScript\n    - correct the wrong types #1000\n    - Add missing scrollBy TypeScript definition #931\n  - New Feature\n    - add scrollTo #831\n    - Added prop to disable the PrevButton #749\n    - Optionally render page #1004\n  - Bug Fix\n    - ES6 and CommonJS compatibility #717\n    - Solves the issue of state messing up when parent component calls setState #939\n    - replay when autoplay is setted to true #1002\n    - fix broken examples and migrate to react-native 0.60.x\n    - fix bad jumping on ios when loadMinimal set true\n    - fix fliker when loop and loadMinimal are enabled #1062\n\n* [1.5.6]\n\n  - Fix [#16](https://github.com/leecade/react-native-swiper/issues/16), [#36](https://github.com/leecade/react-native-swiper/issues/36), [#371](https://github.com/leecade/react-native-swiper/issues/371), [#410](https://github.com/leecade/react-native-swiper/issues/410), [#411](https://github.com/leecade/react-native-swiper/issues/411), [#422](https://github.com/leecade/react-native-swiper/issues/422), [#468](https://github.com/leecade/react-native-swiper/issues/468) Fix landscape orientation auto resize! (thanks [@ahmed3mar](https://github.com/ahmed3mar), [@timmywil](https://github.com/timmywil))\n  - Add containerStyle prop to customize the view container.\n\n* [1.5.5]\n  - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes\n\n- [1.5.4]\n\n  - Added easily accessible pagination point manipulation: use `dotColor` / `activeDotColor` and `dotStyle` / `activeDotStyle` (thanks [@denizs](https://github.com/denizs))\n  - Added scrollEnabled prop to documentation (thanks [@ibandominguez](https://github.com/ibandominguez))\n\n- [1.5.3]\n\n  - Add loadMinimalLoader prop to customize `<ActivityIndicator />` (thanks [@Exilz](https://github.com/Exilz))\n  - Disable autoplay timer when prop changes to false (thanks [@dizlexik](https://github.com/dizlexik))\n  - Special thanks to [@hypatiah](https://github.com/dizlexik) for fixed some grammatical errors in README\n\n- [1.5.2]\n  - Add yarn lock\n  - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [@nemophrost](https://github.com/nemophrost))\n  - The first webview always reloaded when injecting the rest of the children (thanks [@eosterberg](https://github.com/eosterberg))\n\n> see more: [CHANGELOG.md](CHANGELOG.md)\n\n## Show Cases\n\n> Try these cases by yourself very easy, Just open `examples/ios/swiper.xcodeproj` in Xcode, then press `Cmd + R`; you may edit `examples/index.ios.js` for switch cases.\n\n### [examples/components/Basic](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic)\n\n![](http://i.imgur.com/zrsazAG.gif=300x)\n\n### [examples/components/Swiper](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Swiper)\n\n![](http://i.imgur.com/hP3f3oO.gif=300x)\n\n### [examples/components/SwiperNumber](https://github.com/leecade/react-native-swiper/blob/master/examples/components/SwiperNumber)\n\n![](http://i.imgur.com/0rqESVb.gif=300x)\n\n### [examples/components/Phone](https://github.com/leecade/react-native-swiper/blob/master/examples/components/Phone)\n\n![](http://i.imgur.com/c1BhjZm.gif=300x)\n\n### [examples/components/LoadMinimal](https://github.com/leecade/react-native-swiper/blob/master/examples/components/LoadMinimal)\n\n![](http://i.imgur.com/LAOHbJA.gif=300x)\n\n## Getting Started\n\n- [Installation](#installation)\n- [Basic Usage](#basic-usage)\n- [Properties](#properties)\n  - [Basic](#basic)\n  - [Custom basic style & content](#custom-basic-style--content)\n  - [Pagination](#pagination)\n  - [Autoplay](#autoplay)\n  - [Control buttons](#control-buttons)\n  - [Props of Children](#props-of-children)\n  - [Basic props of `<ScrollView />`](#basic-props-of-scrollview-)\n  - [Supported ScrollResponder](#supported-scrollresponder)\n- [Examples](#examples)\n- [Development](#development)\n\n### Installation\n\n> v1.5.14\n\n```bash\n$ npm i react-native-swiper --save\n```\n\n> v1.6.0-rc\n\n```\nnpm i --save react-native-swiper@next\n```\n\n### Basic Usage\n\n- Install `react-native` first\n\n```bash\n$ npm i react-native-cli -g\n```\n\n- Initialization of a react-native project\n\n```bash\n$ react-native init myproject\n```\n\n- Then, edit `myproject/index.ios.js`, like this:\n\n```jsx\nimport React, { Component } from 'react'\nimport { AppRegistry, StyleSheet, Text, View } from 'react-native'\n\nimport Swiper from 'react-native-swiper'\n\nconst styles = StyleSheet.create({\n  wrapper: {},\n  slide1: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#9DD6EB'\n  },\n  slide2: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#97CAE5'\n  },\n  slide3: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#92BBD9'\n  },\n  text: {\n    color: '#fff',\n    fontSize: 30,\n    fontWeight: 'bold'\n  }\n})\n\nexport default class SwiperComponent extends Component {\n  render() {\n    return (\n      <Swiper style={styles.wrapper} showsButtons={true}>\n        <View style={styles.slide1}>\n          <Text style={styles.text}>Hello Swiper</Text>\n        </View>\n        <View style={styles.slide2}>\n          <Text style={styles.text}>Beautiful</Text>\n        </View>\n        <View style={styles.slide3}>\n          <Text style={styles.text}>And simple</Text>\n        </View>\n      </Swiper>\n    )\n  }\n}\n\nAppRegistry.registerComponent('myproject', () => SwiperComponent)\n```\n\n### Properties\n\n#### Basic\n\n| Prop           |     Default     |   Type   | Description                                                                                                 |\n| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |\n| horizontal     |      true       |  `bool`  | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column. |\n| loop           |      true       |  `bool`  | Set to `false` to disable continuous loop mode.                                                             |\n| index          |        0        | `number` | Index number of initial slide.                                                                              |\n| showsButtons   |      false      |  `bool`  | Set to `true` make control buttons visible.                                                                 |\n| autoplay       |      false      |  `bool`  | Set to `true` enable auto play mode.                                                                        |\n| onIndexChanged | (index) => null |  `func`  | Called with the new index when the user swiped                                                              |\n\n#### Custom basic style & content\n\n| Prop              |         Default         |   Type    | Description                                                                |\n| :---------------- | :---------------------: | :-------: | :------------------------------------------------------------------------- |\n| width             |            -            | `number`  | If no specify default enable fullscreen mode by `flex: 1`.                 |\n| height            |            -            | `number`  | If no specify default fullscreen mode by `flex: 1`.                        |\n| style             |          {...}          |  `style`  | See default style in source.                                               |\n| containerStyle    |          {...}          |  `style`  | See default container style in source.                                     |\n| loadMinimal       |          false          |  `bool`   | Only load current index slide , `loadMinimalSize` slides before and after. |\n| loadMinimalSize   |            1            | `number`  | see `loadMinimal`                                                          |\n| loadMinimalLoader | `<ActivityIndicator />` | `element` | Custom loader to display when slides aren't loaded                         |\n\n#### Pagination\n\n| Prop             |                                                                          Default                                                                          |    Type    | Description                                                                                                                                                                                   |\n| :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| showsPagination  |                                                                           true                                                                            |   `bool`   | Set to `true` make pagination visible.                                                                                                                                                        |\n| paginationStyle  |                                                                           {...}                                                                           |  `style`   | Custom styles will merge with the default styles.                                                                                                                                             |\n| renderPagination |                                                                             -                                                                             | `function` | Complete control how to render pagination with three params (`index`, `total`, `context`) ref to `this.state.index` / `this.state.total` / `this`, For example: show numbers instead of dots. |\n| dot              | `<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 8, height: 8,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />` | `element`  | Allow custom the dot element.                                                                                                                                                                 |\n| activeDot        |   `<View style={{backgroundColor: '#007aff', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 3,}} />`    | `element`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotStyle         |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n| dotColor         |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotColor   |                                                                             -                                                                             |  `string`  | Allow custom the active-dot element.                                                                                                                                                          |\n| activeDotStyle   |                                                                             -                                                                             |  `object`  | Allow custom the active-dot element.                                                                                                                                                          |\n\n#### Autoplay\n\n| Prop              | Default |   Type   | Description                                      |\n| :---------------- | :-----: | :------: | :----------------------------------------------- |\n| autoplay          |  true   |  `bool`  | Set to `true` enable auto play mode.             |\n| autoplayTimeout   |   2.5   | `number` | Delay between auto play transitions (in second). |\n| autoplayDirection |  true   |  `bool`  | Cycle direction control.                         |\n\n#### Control buttons\n\n| Prop               |                                                                                                   Default                                                                                                   |   Type    | Description                                 |\n| :----------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------: | :------------------------------------------ |\n| showsButtons       |                                                                                                    true                                                                                                     |  `bool`   | Set to `true` make control buttons visible. |\n| buttonWrapperStyle | `{backgroundColor: 'transparent', flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 10, justifyContent: 'space-between', alignItems: 'center'}` |  `style`  | Custom styles.                              |\n| nextButton         |                                                                                 `<Text style={styles.buttonText}>›</Text>`                                                                                  | `element` | Allow custom the next button.               |\n| prevButton         |                                                                                 `<Text style={styles.buttonText}>‹</Text>`                                                                                  | `element` | Allow custom the prev button.               |\n\n#### Props of Children\n\n| Prop  |               Default                |   Type    | Description                                                    |\n| :---- | :----------------------------------: | :-------: | :------------------------------------------------------------- |\n| style |                {...}                 |  `style`  | Custom styles will merge with the default styles.              |\n| title | {<Text numberOfLines={1}>...</Text>} | `element` | If this parameter is not specified, will not render the title. |\n\n#### Basic props of `<ScrollView />`\n\n| Prop                             | Default |  Type  | Description                                                                                                                                                                                                                                     |\n| :------------------------------- | :-----: | :----: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| horizontal                       |  true   | `bool` | If `true`, the scroll view's children are arranged horizontally in a row instead of vertically in a column.                                                                                                                                     |\n| pagingEnabled                    |  true   | `bool` | If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.                                                                                                               |\n| showsHorizontalScrollIndicator   |  false  | `bool` | Set to `true` if you want to show horizontal scroll bar.                                                                                                                                                                                        |\n| showsVerticalScrollIndicator     |  false  | `bool` | Set to `true` if you want to show vertical scroll bar.                                                                                                                                                                                          |\n| bounces                          |  false  | `bool` | If `true`, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If `false`, it disables all bouncing even if the alwaysBounce\\* props are true. |\n| scrollsToTop                     |  false  | `bool` | If true, the scroll view scrolls to top when the status bar is tapped.                                                                                                                                                                          |\n| removeClippedSubviews            |  true   | `bool` | If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.                                                            |\n| automaticallyAdjustContentInsets |  false  | `bool` | Set to `true` if you need adjust content insets automation.                                                                                                                                                                                     |\n| scrollEnabled                    |  true   | `bool` | Enables/Disables swiping                                                                                                                                                                                                                        |\n\n> @see: http://facebook.github.io/react-native/docs/scrollview.html\n\n#### Supported ScrollResponder\n\n| Prop                |          Params           |    Type    | Description                                                 |\n| :------------------ | :-----------------------: | :--------: | :---------------------------------------------------------- |\n| onScrollBeginDrag   | `e` / `state` / `context` | `function` | When animation begins after letting up                      |\n| onMomentumScrollEnd | `e` / `state` / `context` | `function` | Makes no sense why this occurs first during bounce          |\n| onTouchStartCapture | `e` / `state` / `context` | `function` | Immediately after `onMomentumScrollEnd`                     |\n| onTouchStart        | `e` / `state` / `context` | `function` | Same, but bubble phase                                      |\n| onTouchEnd          | `e` / `state` / `context` | `function` | You could hold the touch start for a long time              |\n| onResponderRelease  | `e` / `state` / `context` | `function` | When lifting up - you could pause forever before \\* lifting |\n\n> Note: each ScrollResponder be injected with two params: `state` and `context`, you can get `state` and `context`(ref to swiper's `this`) from params, for example:\n\n```jsx\nvar swiper = React.createClass({\n  _onMomentumScrollEnd: function (e, state, context) {\n    console.log(state, context.state)\n  },\n  render: function() {\n    return (\n      <Swiper style={styles.wrapper}\n      onMomentumScrollEnd ={this._onMomentumScrollEnd}\n     ...\n      </Swiper>\n    )\n  }\n})\n```\n\n> More ScrollResponder info, see: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollResponder.js\n\n### Methods\n\n#### scrollBy(index, animated)\n\nScroll by relative index.\n\nParameters:\n\n| Name     |   Type   |   default   | Description  |\n| :------- | :------: | :---------: | :----------- |\n| index    | `number` | `undefined` | offset index |\n| animated |  `bool`  |   `true`    | offset index |\n\n### Examples\n\n```bash\n$ cd examples\n$ npm i\n$ react-native run-ios\n```\n\n> Quick start with [examples](https://github.com/leecade/react-native-swiper/tree/master/examples/).\n\n### Development\n\n```bash\n$ cd examples\n$ yarn\n$ yarn start\n$ react-native run-ios\n```\n\nThen launch simulator to preview. Note that you just need to edit the source file `src/index.js`, the change will auto sync to examples.\n\nAfter development, you should add test for your modification and make all tests passed to prevent other contributors break the feature in the future accidentally. We use detox + jest for e2e test now, you can read [Detox](https://github.com/wix/Detox) for more detail.\n\n## Contribution\n\n- [@leecade](mailto:leecade@163.com) The main author.\n- [@rajkissu](mailto:rajkissu@gmail.com) The secondary contributor.\n\n## Questions\n\nFeel free to [contact me](mailto:leecade@163.com) or [create an issue](https://github.com/leecade/react-native-swiper/issues/new)\n\n> Inspired by [nolimits4web/Swiper](https://github.com/nolimits4web/swiper/) & Design material from [Dribbble](https://dribbble.com/) & made with ♥.\n","readmeFilename":"README.md","users":{"jk6":true,"nuwaio":true,"rocman":true,"swimly":true,"asaupup":true,"fsp1990":true,"ojkelly":true,"zhenghua":true,"abuelwafa":true,"kyungtaek":true,"ramavarsh":true,"sternelee":true,"brainpoint":true,"elena_zhuk":true,"junkycoder":true,"patinshuti":true,"shadowlong":true,"liorgrosman":true,"anthontaylor":true,"bianlongting":true,"react-native":true,"robertcuadra":true,"dongguangming":true,"leandrodavimg":true}}