{"_id":"@flockcover/react-native-check-box","_rev":"83-953a2ab31852d63f307a5c04da05dacc","name":"@flockcover/react-native-check-box","dist-tags":{"latest":"2.1.7"},"versions":{"2.1.6":{"name":"@flockcover/react-native-check-box","version":"2.1.6","keywords":["react-native","react-native-component","react-native-checkbox","check-box","check","box","react-component","ios","android"],"author":{"name":"crazycodeboy"},"license":"MIT","_id":"@flockcover/react-native-check-box@2.1.6","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/crazycodeboy/react-native-check-box#readme","bugs":{"url":"https://github.com/crazycodeboy/react-native-check-box/issues"},"dist":{"shasum":"2d92a992ad7df823f635209306dccf9351c033e9","tarball":"https://registry.npmjs.org/@flockcover/react-native-check-box/-/react-native-check-box-2.1.6.tgz","fileCount":13,"integrity":"sha512-EpbzDSXCsSJsEfkIwylIV3h69ZUAwRHSa4CEs3v+dAXYoULZSlwK7fVy2Cq8OiPnX9NUM0c0ytTUObkwXPUW4w==","signatures":[{"sig":"MEYCIQDkBo4ewKAR40X6+iaCcpTzeqb+2B5VOvhZQp1uncY4PAIhAIQtBrGUf0kNntUH+ZcsgIJHm+QgsOf9Z/1OU2aEQgDl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12259,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2a2xCRA9TVsSAnZWagAAqwQP/iiHYsjnSi7nA3zD/qyd\nIax4hmAxn/Hht0PLTaQviziDFLkbvfQ9PSdRTnAp5vl2jM+0jlIF+QFXpzsg\nFm50V7b6J13KL+qnEQ4Zfdpqvq4gtz7BCeXN86eu7IEQIBKKroRyG/h7v5vu\nMR2W94vsce+J5HRFj3dytgHSjSTwu7N2P45Fdojzhmov4lJo3U908WhKam6g\nf0vXO4/CSNwWiWVuB1UVB8hK4h0NR30+DIgC/+yK2AbguUvPHABN7Fc7OdnE\natMvvk8YSOmKJ1TWyG3CRniCWVDOIJPjf4jZq2MxXzlaAu4NPli+7SpyMrGi\n+3JRTpzd776KbbsvDewBYnDUxbnAyIKJjSCuR0wOcSyDGaPnFibv1BnznNiG\nC8Kyo2xCRfTR1hH1O2DuLi/VVhwZD6Gk+0PCpOJplcTTuUbntuKzG1yPwSjJ\nS/ka4yDAry6gpW9q2znI5MADSWbtLBrYbJAxwc4IHkaUYlSKP1Xsw4s2UTTF\n+kTkOy2Npa0A2Sf6Go9FwSjhOk1dLxT1qvJmEmJ7xzKFC5DmGPmu/oFiA20Z\nhfFjFDVdTXOqG9MbRJiX1anI0klaoauR0vQUBc6fptm9L7NZlAH+WMgW359l\n+qKhjh0snwkEt2EV4dyF7729ZxAsJLV+l3mhuA2cXXjMtXTbqq7fqZe8x1oH\nHRjS\r\n=uiLI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"cfothergill","email":"chris@chrisf.co"},"repository":{"url":"git+https://github.com/crazycodeboy/react-native-check-box.git","type":"git"},"description":"Checkbox component for react native, it works on iOS and Android.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2016 Jia PengHui\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","dependencies":{"prop-types":"^15.5.7"},"_hasShrinkwrap":false,"peerDependencies":{"react-native":">=0.20.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-check-box_2.1.6_1540992432842_0.6887445749417773","host":"s3://npm-registry-packages"}},"2.1.7":{"name":"@flockcover/react-native-check-box","version":"2.1.7","keywords":["react-native","react-native-component","react-native-checkbox","check-box","check","box","react-component","ios","android"],"author":{"name":"crazycodeboy"},"license":"MIT","_id":"@flockcover/react-native-check-box@2.1.7","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/crazycodeboy/react-native-check-box#readme","bugs":{"url":"https://github.com/crazycodeboy/react-native-check-box/issues"},"dist":{"shasum":"020d56e2e3b4eca2e90120a76b0175681f17f870","tarball":"https://registry.npmjs.org/@flockcover/react-native-check-box/-/react-native-check-box-2.1.7.tgz","fileCount":13,"integrity":"sha512-3b8YdU6LemWvaZGAO/j/Fj2+v8lYgLx4QsBGy0OVXTHtGpqpG5DdyRXShY72v+Pk6CChwmP2n4jw8ec4RTGbeQ==","signatures":[{"sig":"MEUCIQDcrYuMtOckzF3mJjeTxelmwd5HpVhNi3/w9Rf+bKJMqgIgbtgyzIt1vU/Demd84QloPkS4ghPGdY51YBSavNmjCRw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2dfvCRA9TVsSAnZWagAAe5QP+wS3u/gaAw6p6bqkITqr\nAkwvqBCYGQmAfvkHkWzZmhmA4rhAqZai8sw9xuCcSZhCsp3dgg9jODyjcZO1\nzQWAKOjOtJ/anls/f5XHtS0mWrKC7Jc/umIWcfagdRHglt0uK9VdTCZVctoE\nTp2VYqnB2PGIdXFEAz36qXu4tYdShz8P36iwWd1GQK7aXK+0l6j+lfwIfbi8\ntu6Eu1xUt1kqOsDiMHNesIngMrw9maYKd38hQSzdlDBAOFs3SROLY4o2yvM6\nBJFmSJuR0KSHQ/Kx3Hb5bEs5MZFNGLvV2V6SCQKogggm8TkJbjLDzXBczGHm\n1vsZFt8MjuFPP0UoxgtxTckJU1aneciTnwuc6YdNVn5OdrW6RzCAvSBc6ePn\nZ0nDOjesGDlPwxVUO338gRTmkzLc9wfFPnzrAERf6sDzsHTEgMOY7twS++f7\ntJrKbH0vCAZnz+B2laDFy2kjPulcESifSUU+yCdptSMBNfJNzbK2P75sEUvN\n8dqPIEcXbUGcmop5hiI5oe+4L3Sh7uf3SRcaJzmZ28tcyl6fiVaHlPHkGHtr\nxEypEGzi44ZKkRW45T+P1aYXd8ukf4a8SXlapnPHcXrVhuYAphW6YbMGaO95\nhsAE/3pTaXGicM8wTcJ5Uior0c5hwAqdsd6KCcbUsaddDv5wtos/SHZrYlJv\ntQKP\r\n=qtYZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"cfothergill","email":"chris@chrisf.co"},"repository":{"url":"git+https://github.com/crazycodeboy/react-native-check-box.git","type":"git"},"description":"Checkbox component for react native, it works on iOS and Android.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2016 Jia PengHui\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","dependencies":{"prop-types":"^15.5.7"},"_hasShrinkwrap":false,"peerDependencies":{"react-native":">=0.20.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-check-box_2.1.7_1541003246771_0.3235758218437894","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-10-31T13:27:12.841Z","modified":"2026-09-14T08:59:00.297Z","2.1.6":"2018-10-31T13:27:13.001Z","2.1.7":"2018-10-31T16:27:26.911Z"},"bugs":{"url":"https://github.com/crazycodeboy/react-native-check-box/issues"},"author":{"name":"crazycodeboy"},"license":"MIT","homepage":"https://github.com/crazycodeboy/react-native-check-box#readme","keywords":["react-native","react-native-component","react-native-checkbox","check-box","check","box","react-component","ios","android"],"repository":{"url":"git+https://github.com/crazycodeboy/react-native-check-box.git","type":"git"},"description":"Checkbox component for react native, it works on iOS and Android.","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:\n\nWe needed a testID prop passed through to the TouchableOpacity. There is a Pull Request open upstream to add this and\nonce / if merged we can go back to using the source library. \n\n# react-native-check-box\n\n[ ![release](https://img.shields.io/github/release/crazycodeboy/react-native-check-box.svg?maxAge=2592000?style=flat-square)](https://github.com/crazycodeboy/react-native-check-box/releases)\n[ ![PRs Welcome](https://img.shields.io/badge/PRs-Welcome-brightgreen.svg)](https://github.com/crazycodeboy/react-native-check-box/pulls)\n[ ![NPM version](http://img.shields.io/npm/v/react-native-check-box.svg?style=flat)](https://www.npmjs.com/package/react-native-check-box)\n[![License MIT](http://img.shields.io/badge/license-MIT-orange.svg?style=flat)](https://raw.githubusercontent.com/crazycodeboy/react-native-check-box/master/LICENSE)\n\nCheckbox component for react native, it works on iOS and Android.\n\n## Content\n\n- [Installation](#installation)\n- [Demo](#demo)\n- [Getting started](#getting-started)\n- [API](#api)\n- [Contribution](#contribution)\n\n## Changes\n\nFor React Native >= 0.54 use v2.1.2+, for React Native < 0.4.4 use v1.0.4\n\n## Installation\n\n* 1.Run `npm i react-native-check-box --save`\n* 2.`import CheckBox from 'react-native-check-box'`    \n\n## Demo  \n* [Examples](https://github.com/crazycodeboy/react-native-check-box/tree/master/examples)\n\n![Screenshots](https://raw.githubusercontent.com/crazycodeboy/react-native-check-box/master/examples/Screenshots/react-native-check-box-screenshots.gif)\n\n## Getting started  \n\nAdd `react-native-check-box` to your js file.   \n\n`import CheckBox from 'react-native-check-box'`  \n\nInside your component's render method, use CheckBox:   \n\n```javascript\n<CheckBox\n    style={{flex: 1, padding: 10}}\n    onClick={()=>{\n      this.setState({\n          isChecked:!this.state.isChecked\n      })\n    }}\n    isChecked={this.state.isChecked}\n    leftText={\"CheckBox\"}\n/>\n```\n\nThen you can use it like this:   \n\n\n### Basic usage  \n\n```javascript\n<CheckBox\n    style={{flex: 1, padding: 10}}\n    onClick={()=>{\n      this.setState({\n          isChecked:!this.state.isChecked\n      })\n    }}\n    isChecked={this.state.isChecked}\n    leftText={\"CheckBox\"}\n/>\n ```\n\n### Custom CheckBox   \n\n```javascript\nrenderCheckBox(data) {\n    var leftText = data.name;\n    return (\n        <CheckBox\n            style={{flex: 1, padding: 10}}\n            onClick={()=>{\n                 this.setState({\n                     isChecked:!this.state.isChecked\n                 })\n               }}\n            isChecked={this.state.isChecked}\n            checkedImage={<Image source={require('../../page/my/img/ic_check_box.png')} style={this.props.theme.styles.tabBarSelectedIcon}/>}\n            unCheckedImage={<Image source={require('../../page/my/img/ic_check_box_outline_blank.png')} style={this.props.theme.styles.tabBarSelectedIcon}/>}\n        />);\n}\n```\n\n**More Usage:**    \n\n[GitHubPopular](https://github.com/crazycodeboy/GitHubPopular/blob/develop/js/page/my/CustomKeyPage.js)\n\n\n\n## API\n\n\nProps              | Type     | Optional | Default     | Description\n----------------- | -------- | -------- | ----------- | -----------\nstyle  | ViewPropTypes.style  | true |   |   Custom style checkbox\nleftText | PropTypes.string |true |   | Custom left Text\nleftTextStyle  |  Text.propTypes.style | true |  | Custom left Text style\nrightText | PropTypes.string |true |   | Custom right Text\nrightTextView | PropTypes.element | true |   | Custom right TextView\nrightTextStyle  | Text.propTypes.style | true |  | Custom right Text style\ncheckedImage  |  PropTypes.element  | true  | Default image | Custom  checked Image\nunCheckedImage  |  PropTypes.element  | true  |  Default image  | Custom  unchecked Image\nisChecked  |  PropTypes.bool |  false  |  false  | checkbox checked state\nonClick   |  PropTypes.func.isRequired |  false  |  | callback  function\ndisabled  |  PropTypes.bool            | true  |  false | Disable the checkbox button\ncheckBoxColor | PropTypes.string | true |   | Tint color of the checkbox image (this props is for both checked and unchecked state)\ncheckedCheckBoxColor | PropTypes.string | true |   | Tint color of the checked state checkbox image (this prop will override value of `checkBoxColor` for checked state)\nuncheckedCheckBoxColor | PropTypes.string | true |   | Tint color of the unchecked state checkbox image (this prop will override value of `checkBoxColor` for unchecked state)\n\n## Contribution\n\nIssues are welcome. Please add a screenshot of bug and code snippet. Quickest way to solve issue is to reproduce it on one of the examples.\n\nPull requests are welcome. If you want to change API or making something big better to create issue and discuss it first.\n\n---\n\n**MIT Licensed**\n","readmeFilename":"README.md"}