{"_id":"@flockcover/react-native-chooser","_rev":"83-d8940f657b87bcd1472b36de47094a80","name":"@flockcover/react-native-chooser","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@flockcover/react-native-chooser","version":"1.0.0","keywords":["react-native","chooser","select","picker"],"author":{"name":"Azhar"},"license":"MIT","_id":"@flockcover/react-native-chooser@1.0.0","maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"cfothergill","email":"chris@chrisf.co"},{"name":"ci-deployment-flockcover","email":"ci-deployment@flockcover.com"},{"name":"cmansel","email":"courtenay@flockcover.com"},{"name":"davidflock","email":"david@flockcover.com"},{"name":"mcleary","email":"mattcleary55@gmail.com"}],"homepage":"https://github.com/gs-akhan/react-native-chooser#readme","bugs":{"url":"https://github.com/gs-akhan/react-native-chooser/issues"},"dist":{"shasum":"c0d90b6679543a78edc29bdd39f9b8f735e5a972","tarball":"https://registry.npmjs.org/@flockcover/react-native-chooser/-/react-native-chooser-1.0.0.tgz","fileCount":12,"integrity":"sha512-GqRPSwLJdmR9MpWTX2RHex9I0N9zfl6HPzBAZ7xYPM2bwe2eU6keZJ52HsRF6eLlRyCAOtcNPIAXlpIXMDRc9g==","signatures":[{"sig":"MEQCIFUK6bzgA7F+L9Lhnr99k6NWG84IbZQub77/ajBMdrV6AiAucRF8rsFNEgTIwzxwcwnZJj32sN3o/hijquPF5il77Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":348424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbziKpCRA9TVsSAnZWagAA9cUP/3sToXbCEj7IuawLcCgg\nkDqKsQ9MzOaGRaNIpyky5V+y0kt+rMNMCSSWfqx7rjSdepfwRAYPGY5BygRY\nb6O7NXfVKUSUvcPkUYuqnFebrPp/8K+lyvRhnHZKXuS4AMmBqgpmv+WVRmik\n6+G3UyixyK8nt9YpyPoJck9XiBtPuDj7hjv9/RRBeOAQcnG146CK1UJU8sNT\nHB9H5438Q2LXZOaEarofSSDMaK1c3GvVN5E3wdnld4cLR/vQBn6li85/HETD\nmKVkf6t5mdEXT57qqLStUCYDQU1CC1707I0vtwtQwCJgPQKlYe3QsYdz8LAR\nCgbkQj+hce2CFp0a5HmFxi2sQrmd1maVmXBbRl2GcgzPCOQMetVhYe/wL/ET\nfUJnA8PB+lTr5ThQW+qeAxFzup1fkXkSECzA7otVy7qoLzCTgFQzXcZ/DTVA\nA0O7l9+CxPW1V85ziY5VShC+XU7Ww0CbnVBXeOnO54Vng5JEHm0vycEeccum\ngMywpFxUs2uIKSY9IRv5FoYvUTvhHhSqSQXCs3ZUgnbAEJiZB3K7qYNruZrC\ne/jNI3+QqnDsIIYpkshhV2V6PeSMwrLEI4W2HhF90HTYTjn71RwwaVh1BA0w\n/tmrJy9xOy55uABgeBQ5pUaU5VwFl3eYI5yMjLP4VxP4tMXdcpcxluH3+Zoy\nNF51\r\n=qTSd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"apolishc","email":"apolishc@gmail.com"},"repository":{"url":"git+https://github.com/gs-akhan/react-native-chooser.git","type":"git"},"description":"Simple Cross platform SELECT tag for React-Native","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2016 Azharuddin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_hasShrinkwrap":false,"devDependencies":{"react":"16.0.0-alpha.12","prop-types":"^15.5.10"},"peerDependencies":{"prop-types":"^15.5.10"},"_npmOperationalInternal":{"tmp":"tmp/react-native-chooser_1.0.0_1540235944314_0.8305541813118558","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@flockcover/react-native-chooser","version":"1.0.1","keywords":["react-native","chooser","select","picker"],"author":{"name":"Azhar"},"license":"MIT","_id":"@flockcover/react-native-chooser@1.0.1","maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"cfothergill","email":"chris@chrisf.co"},{"name":"ci-deployment-flockcover","email":"ci-deployment@flockcover.com"},{"name":"cmansel","email":"courtenay@flockcover.com"},{"name":"davidflock","email":"david@flockcover.com"},{"name":"mcleary","email":"mattcleary55@gmail.com"}],"homepage":"https://github.com/gs-akhan/react-native-chooser#readme","bugs":{"url":"https://github.com/gs-akhan/react-native-chooser/issues"},"dist":{"shasum":"1aec443a71ade8c35b42d597344537d900a30af6","tarball":"https://registry.npmjs.org/@flockcover/react-native-chooser/-/react-native-chooser-1.0.1.tgz","fileCount":12,"integrity":"sha512-WcPwIJyrTuxujFrmMUpMmWDokplM3humIJg1qKxPCVN+Eg01pJDUle0zXI0qNMhpPJ87obTbaQBOktWgYKqNBw==","signatures":[{"sig":"MEUCIA+mzxkjIdSwhDO1BKOZvp9QtczzvoU1zwYOxRFe/e/VAiEAid80K2DE1hH2QyGv4UVtA3IgsxZNAYgMqsdooDbeiGA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":348424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzymkCRA9TVsSAnZWagAAaCMP/iOEiHtCb+HvtL6drgzn\nkWUp7jaHz+78PqkVd4sCOnOeUidz9BcHPoSD0F9NqYwfqgrYDLqhC/uxUpA1\nAb3Di61rziGFlOXRPTljvduzcL78U/81OW/SPsxtLRLB+FsxT5SbdMnBS9zc\nqdPs/YV6i0BIBQ9nwAG9evO3pwG62wF30dHaZHan6zNYdno2caSLqrtR1rAH\n1qji2SOjWd9kfv4EBHyQmZr6SEcstRMcVff3rzNw72eWkq4AXD6Ai2BKod0f\nwy7LzzLo2h60v5Uf5lt4VvcLOufp4H5Svqo39ftUpiExA4AhsFLSloS4lOvM\nKSFIbF4KkJc8f5sdQgCWexTXqnimG4J91/e/SZ/sdRefS+mt9jT4xZ6X6/9G\nSdw7qEAvWc0rIQ1ggR3b7pq96M/wBiIUOGR+xpoWiME3VNxBNksQ3pA2kmPy\noOqB2VxpKjJkzM/cbkMjhv9XcmgxNvOMrfZrQbanhbVQwz/9RRp7shTxD+Go\nEtV3WHnxxDEltzaCmQ1QvLvjZLvuZjHPoFYuB8git0p1x+Lv2ZHgrQG4QryG\nk+PsmRy22NrgBM7QYaLbbwJYQjSq/LvFvrQFcX4faT8LsiMGOGX0jO9uHLUL\nG0NXI6m3A1yv21+f/AF9BElEoe6iyDNb0CrCc0JMfszLLPdwZDP8gymqB9cZ\n23Uk\r\n=X83T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"apolishc","email":"apolishc@gmail.com"},"repository":{"url":"git+https://github.com/gs-akhan/react-native-chooser.git","type":"git"},"description":"Simple Cross platform SELECT tag for React-Native","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2016 Azharuddin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_hasShrinkwrap":false,"devDependencies":{"react":"16.0.0-alpha.12","prop-types":"^15.5.10"},"peerDependencies":{"prop-types":"^15.5.10"},"_npmOperationalInternal":{"tmp":"tmp/react-native-chooser_1.0.1_1540303267413_0.700154833768444","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-10-22T19:19:04.313Z","modified":"2026-09-14T08:59:00.800Z","1.0.0":"2018-10-22T19:19:04.499Z","1.0.1":"2018-10-23T14:01:07.609Z"},"bugs":{"url":"https://github.com/gs-akhan/react-native-chooser/issues"},"author":{"name":"Azhar"},"license":"MIT","homepage":"https://github.com/gs-akhan/react-native-chooser#readme","keywords":["react-native","chooser","select","picker"],"repository":{"url":"git+https://github.com/gs-akhan/react-native-chooser.git","type":"git"},"description":"Simple Cross platform SELECT tag for React-Native","maintainers":[{"email":"ci-deployment@flockcover.com","name":"ci-deployment-flockcover"},{"email":"chris@chrisf.co","name":"cfothergill"},{"email":"david.zamora@flockcover.com","name":"davidzamora"},{"email":"tech-root@flockcover.com","name":"flock-tech-root"},{"email":"antton@flockcover.com","name":"anttonp"},{"email":"ismael.jebril@flockcover.com","name":"ismaeljebril"},{"email":"francesco.Venerandi@flockcover.com","name":"francescovenerandi"},{"email":"stephen.millington@flockcover.com","name":"stemill"},{"email":"joan.canellas.fontanilles@gmail.com","name":"joan-canellas-fontanilles"},{"email":"javier.arranz@flockcover.com","name":"jav-arr"},{"email":"jacob.holland@flockcover.com","name":"jacob.holland"},{"email":"rob.grice@flockcover.com","name":"robgric3"},{"email":"jordi.pallaresroset@flockcover.com","name":"jordiflock"},{"email":"aleksandra.yaneva@flockcover.com","name":"aleksyaneva-flock"},{"email":"fergus.doyle@flockcover.com","name":"fergus-flock"},{"email":"tom.harvey@flockcover.com","name":"tomharveyflock"},{"email":"geran.butcher@flockcover.com","name":"gezzyb-flock"},{"email":"jemima.pitceathly@flockcover.com","name":"jemimapit"},{"email":"sam.adeniyi@flockcover.com","name":"thesamadeniyi"},{"email":"hassan.moin@flockcover.com","name":"hassanmoin-3"},{"email":"marco.escaleira@flockcover.com","name":"marcoescaleira_flock"},{"email":"navani.navaratnarajah@flockcover.com","name":"navani.nava"}],"readme":"# Reason for fork:\nThe original of this package was here: https://github.com/gs-akhan/react-native-chooser\nHowever, it was no longer maintained, and we needed this bug: https://github.com/gs-akhan/react-native-chooser/issues/43 fixed for react native 0.57.1 support\n\n# React Native Chooser\nSimple DropDown menu for React Native App! Your Select Tag for React Native. Fully Customizable too.\n\n## Introduction\n\nReact Native Chooser is simple, customizable and easy to use dropdown in React Native. It has been tested on both Android and IOS and works like a charm.\n\n\n## Installation\n```\nnpm i react-native-chooser --save\n```\n\n## Usage\n\n```js\nimport React, { Component } from 'react';\nimport {Select, Option} from \"react-native-chooser\";\n\nimport {\n  AppRegistry,\n  StyleSheet,\n  Text,\n  View\n} from 'react-native';\n\nexport default class AwesomeProject extends Component {\n\n  constructor(props) {\n    super(props);\n    this.state = {value : \"Select Me Please\"}\n  }\n  onSelect(value, label) {\n    this.setState({value : value});\n  }\n\n  render() {\n    return (\n      <View style={styles.container}>\n        <Select\n            onSelect = {this.onSelect.bind(this)}\n            defaultText  = {this.state.value}\n            style = {{borderWidth : 1, borderColor : \"green\"}}\n            textStyle = {{}}\n            backdropStyle  = {{backgroundColor : \"#d3d5d6\"}}\n            optionListStyle = {{backgroundColor : \"#F5FCFF\"}}\n          >\n          <Option value = {{name : \"azhar\"}}>Azhar</Option>\n          <Option value = \"johnceena\">Johnceena</Option>\n          <Option value = \"undertaker\">Undertaker</Option>\n          <Option value = \"Daniel\">Daniel</Option>\n          <Option value = \"Roman\">Roman</Option>\n          <Option value = \"Stonecold\">Stonecold</Option>\n          <Option value = \"Rock\">Rock</Option>\n          <Option value = \"Sheild\">Sheild</Option>\n          <Option value = \"Orton\">Orton</Option>\n\n        </Select>\n      </View>\n    );\n  }\n}\n```\n\n### Props\n\n#### Props for Select\n\n| Prop Name       | Data Type | Default Values  | Description                                      |\n|-----------------|-----------|-----------------|--------------------------------------------------|\n| onSelect        | function  | null            | function that executes on selection of an option |\n| defaultText     | string    | Click To Select | Text to show as default text                     |\n| style           | object    | null            | To style the select box.                         |\n| backdropStyle   | object    | null            | To style the overlay                             |\n| textStyle       | object    | null            | To style the text shown in the box               |\n| optionListStyle | object    | null            | To style the selection box                       |\n| transparent     | boolean   | false           | To set the transparent prop on Modal             |\n| animationType   | string    | \"none\"          | To set the animationType prop on Modal           |\n| indicator       | string    | \"none\", \"up\" or \"down\" | \"none\" | To enable an indicator arrow     |\n| indicatorColor  | string    | \"black\"         | The color of the indicator arrow                 |\n| indicatorSize   | number    | 10              | The size of the indicator arrow                  |\n| indicatorStyle  | object    | null            | To style the indicator arrow                     |\n| indicatorIcon   | react element    | null     | Show the indicator icon                          |\n| selected        | string    | null            | Give it same value as you give to Option         |\n| selectedStyle   | object    | null            | Apply styles to the selected Option              |\n\n#### Functions for Select\n\n| Function Name | Description |\n|-----------|-----------|\n| setSelectedText(text) | Set default text in the select option, often used to reset text.|\n\n#### Props for Option\n\n| Prop Name | Data Type | Default Values | Description                           |\n|-----------|-----------|----------------|---------------------------------------|\n| style     | object    | null           | To style each option                  |\n| styleText | object    | null           | To style the text shown in the option |\n\n## Demo\n###  IOS and Android:\n<p align=\"center\">\n    <img src =\"https://raw.githubusercontent.com/gs-akhan/react-native-select/master/dropdown-both.gif\" />\n</p>\n\n## Contributions\nYour contributions and suggestions are heartily♡ welcome. (✿◠‿◠)\n","readmeFilename":"README.md"}