{"_id":"radio-buttons-react-native","_rev":"4-6b9540a985de697c9175852ac7c5f144","name":"radio-buttons-react-native","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"radio-buttons-react-native","version":"1.0.0","description":"Animated radio buttons component for react native","main":"RadioButtonRN.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/sramezani/radio-buttons-react-native.git"},"keywords":["react-component","react-native","ios","android","form","button","radio-button","radio-buttons","react-native-radio-button","animated","react","mobile"],"author":{"name":"Siamak Ramezani","email":"siamak.rp@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/sramezani/radio-buttons-react-native/issues"},"homepage":"https://github.com/sramezani/radio-buttons-react-native#readme","gitHead":"c0525ed0fae0074ca3dde5dda680d601dc09ddb0","_id":"radio-buttons-react-native@1.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-GGCaJGU8knfWvydtmiZ5Ia7405su7B8U5sp/Pus5Uy4y1xBdCr2EABtq80uCJ4WWL1EqZf1g09snNadYdt12yA==","shasum":"0d95d82b8dfd94fbb30c3baeb3871dc2649fe905","tarball":"https://registry.npmjs.org/radio-buttons-react-native/-/radio-buttons-react-native-1.0.0.tgz","fileCount":4,"unpackedSize":11320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmewVCRA9TVsSAnZWagAAF2QP/Rc7tOj0XSQ1DhMamgK3\nIlMhwA3BfTiuXSFv4NytOLFixK2O6w3sZgUS+2/+HsGeMKfABBXnCK1zk4em\nBmxycouuArNrZBeSLutJaXi2p/eoxpGmrO35gYtRdm6mAWzb0HWO3/ryH27V\noDjiFnrc5WwdS5+kCw8X+Vkn/aXCDC8cTOiKQj00zt23rsG954ru6UzTG5F8\nY8ig0o5yjbqsjg0LGH5gLMOT+Q3gfhpYnXaBHjYhjO6GpgY6xQCIoFqN2CC4\n8Rg7m7Kp4nsWkihXpK72g6uobI+A01FAmn0n3pW3wIo3PLUy1l9EneQmuyXw\nUN9iGnKA6Q2Od2kf4ebGHrM4REL/yNdYkRdd/Tx5AxsYUao2r6uoDcvTD7W9\nCo2QvktYvkAhkGBBasEnR1JQ5bz/UoIOWHu8Su+Cc3pZIsZsDkvieEce2Nle\nu4aexAegSBVxz085nWL87akoOCJVrNQhduTtHgR+ivzs/fHncdrOVA/tT7a6\ncqNGWpuNu9s01MhtDugzaqQTa2X2fd+Bfq0aA23HGGmPvLRFV24mIPVAWO+R\n68mPk1dh0IgwK9KhhW1uJPX+xTCpZDAx0JdZeZqrFU6/kne0XGayKWMxQW4C\ns8A5ZQ/hBP/z8VdVRvwwrLcXy5bKCZhoDEw0mzL3ATPU16ZSeLytUjo2BoTt\nDkO7\r\n=hphN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0dkTKOyD6hq2OboS8pMGSb/M6novYjiAiyQW3HTguLAiAh6jwr6hsJLZgSGQ8Fx2m/uGsBpLs7fFzmK5Y3N3X1Rw=="}]},"maintainers":[{"name":"siamak_rp","email":"siamak.rp@gmail.com"}],"_npmUser":{"name":"siamak_rp","email":"siamak.rp@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/radio-buttons-react-native_1.0.0_1570368532898_0.33401475865596875"},"_hasShrinkwrap":false},"1.0.2":{"name":"radio-buttons-react-native","version":"1.0.2","description":"Animated radio buttons component for react native","main":"RadioButtonRN.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/sramezani/radio-buttons-react-native.git"},"keywords":["react-component","react-native","ios","android","form","button","radio-button","radio-buttons","react-native-radio-button","animated","react","mobile"],"author":{"name":"Siamak Ramezani","email":"siamak.rp@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/sramezani/radio-buttons-react-native/issues"},"homepage":"https://github.com/sramezani/radio-buttons-react-native#readme","directories":{"example":"example"},"gitHead":"765be3cd814c1a5916e519ef4506e3dbd731c54f","_id":"radio-buttons-react-native@1.0.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-205SRLwV2jsnni08Fpc5WuKhvz3I8MdBCQQOpZVW3HwJextPIg1p8hlslbLEDIoi0vzXIv1bL2TF7pWKv1j0Ug==","shasum":"aad5c7cd0daa5c4ff074b1fe898a25c7455a2562","tarball":"https://registry.npmjs.org/radio-buttons-react-native/-/radio-buttons-react-native-1.0.2.tgz","fileCount":4,"unpackedSize":13802,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmfApCRA9TVsSAnZWagAA8WgQAJjnl5XG88kgMNcOx38I\n+9mwPOIrUHf++hS7HRXp/L7crSAvRqI/vWKXqk04FssQp/yZbM5T79rBwCW+\nTgD5jbMX8XNZ+CloeicnDkP5cBVf2yRg19siOnS9QL+7mx1OtYotePn+YyQX\nYHVST28hraPj31W1pRzRfSG3VX54l5VukwFd2loDP6vK/iTPBQlSdXf5eGOw\nMoo2Nfvj6EbaGcJRmQm0e7+n8UezlZPFCkf2d/kOd53e8bs6oJqCXgsr47aL\nuEfQ6xCiF7wf7smLmYxSue0JbmgQgqsuT/ezoeRvPvPjkvmiMsMjgvaWJNze\nogur9/MHe6dD/TxbJoLpFVn29jKKWTUlqoGf4Jpnrf6+kaZw6LsFMkgcNtMJ\njZWbPVPV0rz9pzPlDXrR2scJbcimlJQJBkmzo1V6pxcsmc8Uaxx2nItA8oQh\nUwq/t/e3rcXZ0fOrEZ/CQYsKquBNfkhTV2DyxLhAc3w1WW/aXowVfL/MuIZz\nIPpWfdemGWqbseY0R3Z/eDbKex61CsIuCc6pRKWeIpi32ImdUgELrVaEosK0\n9RZKvDvHUjFjpSGF8KWLfxJcc6okPt3B/dAJeTkSsKyHBbk7B/v45qGpvJ6F\nOXsZh54w6ycxrXrz+eL3T6zqEEHoBsNuFh/8GIdrGPbezt6/VU9kofe7M2Ae\np786\r\n=KQzg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHq7117wthIQl1QF4duQy9z1DKJ8gfGhq12K8bx1mQGaAiAkZX8lNu8Hkd6q+ecOLrZ2sTq+beRZwg8lpeGumzBjHg=="}]},"maintainers":[{"name":"siamak_rp","email":"siamak.rp@gmail.com"}],"_npmUser":{"name":"siamak_rp","email":"siamak.rp@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/radio-buttons-react-native_1.0.2_1570369576781_0.12325114855298924"},"_hasShrinkwrap":false},"1.0.3":{"name":"radio-buttons-react-native","version":"1.0.3","description":"Animated radio buttons component for react native","main":"RadioButtonRN.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/sramezani/radio-buttons-react-native.git"},"keywords":["react-component","react-native","ios","android","form","button","radio-button","radio-buttons","react-native-radio-button","animated","react","mobile"],"author":{"name":"Siamak Ramezani","email":"siamak.rp@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/sramezani/radio-buttons-react-native/issues"},"homepage":"https://github.com/sramezani/radio-buttons-react-native#readme","directories":{"example":"example"},"gitHead":"f86c9ef38c2ae94f06754f0ad5d9a5d4e9946854","_id":"radio-buttons-react-native@1.0.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-BxeabmEvm86UaWRHKv/nTWefNeovKxjMSC16YhQ+nY5GAMniDpZGc2i46TN+F0dgHsfuQePDS3MFcnj4aS8oFw==","shasum":"8080ec39b63b1d4b6818455f7209cd33f50076a8","tarball":"https://registry.npmjs.org/radio-buttons-react-native/-/radio-buttons-react-native-1.0.3.tgz","fileCount":4,"unpackedSize":13818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmfJrCRA9TVsSAnZWagAASlMQAIVQIAixHfORVcwdXjAf\nnLxIyC5hStqVRECFT7BFOmy8UEFrXznYZPcN6nLcNVAvEgP9X3SOy78QHVsz\necbeDlls1OSkqv6tG/YgunhFvc8AQLFcne7ZJoGzoNfBLpNTIR2SAasNWgO2\nv+87bxy1xISfuAp+nGsQJ32E2sc3Tic442bIphdUz9Qtb2ZjkLRHvSbSO97w\nckcYtVhJbTopJ/yn0gDJUhHQu1V2yRPc8xff0NMiaIsXVQOeZNwyyGe97iXV\nampwFoz3Qb82cEPIGgU6PPHskHsmgdMj6BkIlN+DtuTwfbZiwnDZcnkMMhXN\nIc8S6ohU8EwHVHl1rrU4G7flwm4RKCK6o6KLPId3uX1iN8zScWgIz3T6siTq\nrJ1zhtNYY6kJtdFXHOava/Vh5FVgV/VOvpGh7UfOlhv1wwzKVhHQbbWLCdZr\nWjIDS91IASUNuKQ7A0K9eADB0e4+AwC2ioZkQE6PPoRYj7wgC2wlr5Xf8ZZ+\nLAlBskTAiPJ2ON48J4iS4CvwF3jg8jldaGIMEiNUskLLQAfzFzkNjNgvpaoJ\nRClXDNsrO+8njC2TGy68pOl0GJwpT+2chicDnW20gjZBGFkkjGV/DGIA+sLP\nLghi1Fz7sxJWqQ5IlQsn+5vnymLuu6mFIKN2VoobrtyFEAW+FUCYwmEQ97mM\nDWg6\r\n=Mv8K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAl4k3NRUfz3InD9IJnHlonSRxgN5SR7Sy/T1N+agzK9AiB/UE5NOfpyRz8Ih6kNQlez5+Qv7ih8sEMUG2pZ4QDevA=="}]},"maintainers":[{"name":"siamak_rp","email":"siamak.rp@gmail.com"}],"_npmUser":{"name":"siamak_rp","email":"siamak.rp@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/radio-buttons-react-native_1.0.3_1570370154411_0.36830977268474485"},"_hasShrinkwrap":false},"1.0.4":{"name":"radio-buttons-react-native","version":"1.0.4","description":"Animated radio buttons component for react native","main":"RadioButtonRN.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/sramezani/radio-buttons-react-native.git"},"keywords":["react-component","react-native","ios","android","form","button","radio-button","radio-buttons","react-native-radio-button","animated","react","mobile"],"author":{"name":"Siamak Ramezani","email":"siamak.rp@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/sramezani/radio-buttons-react-native/issues"},"homepage":"https://github.com/sramezani/radio-buttons-react-native#readme","directories":{"example":"example"},"gitHead":"5819c144c50ca0631f81ab590a3d54e88bc9eb10","_id":"radio-buttons-react-native@1.0.4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-5AKM/p3a9mykQ1BCIbBnHrDwXZZ6iJuDEDFaiNb2Pa2Nx9EgUMgU5owcrU9g9eaK7didA5rJ3yAUKGnyfhBqcw==","shasum":"ee450f6e81d8f5c22882f338b0ce979f70ab8980","tarball":"https://registry.npmjs.org/radio-buttons-react-native/-/radio-buttons-react-native-1.0.4.tgz","fileCount":4,"unpackedSize":13699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejzF9CRA9TVsSAnZWagAAeNEP/328QdaLS4iYkWV/jtRc\n51tSape+LXSW9M9qf54hV1eRRO2jnsBfkSvVpYpXILCdgIM7KPqAChkZSJfM\nrUhcIZVIVlz3UvaiW6TWMOJn0Ry3n0/NMGUGS5nJXSlCeECJ32S5a5aAQ2Po\nxEKYk2q6jq+/TBXH4tc0LKMqyG0JRPQSdtVdZUTSw19ywfSafR0hhv8iLA8s\nF3TigtTiYyQX7ItjKIazTHqwMOT2Ljt2qF/zxGDhG/RhCbSwZPrGL+s2Dr+k\nJgegvIfKmf7NODpQHAtsyJb1ge2QQPKcbVxNg7TMzFt5UH6MV4Xs2seekBh/\nI4gBkH88NSHYiRYrxbxj9u7uZc4uarfScn3jlqP5PmiBfjyesFWN//GGbILz\nUFScFMZPBUOHmeEa5wRBAcY6qeqpYRNfj7y90cn7Ltguz7MCgzjl1F9BWcni\no6eKCk8/yvK9Qfqm0wofwWzpzNlXI19udOjVe5dD4sNdhRrk4iPkse23HTXm\nPKg1e2hoPZL33HJoxmynyXK9s1B9bJpHyZsDAQE1uFQF0WhlZCSAZEwZlORa\nOKJkBWKBiNZul7GmHqEpXzkU7+Z1vV8XYVk/rpJzvVJAGmjR1T4iWUkKFjqH\nFiSPoEHSUOCIrYA1g5bSm3PNVrncn6nIV0iV6AbDio4ZRvO7CdvRbEPdHYTF\nf1II\r\n=3Tzb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHrQ3g211YaG6V7membF/jOYM4OuDcR0Lp1ixZF3XdlQIgdPOeqxlIe1rWoxxhDG2U3oRmvIliUeHaJKmQO5qhg0k="}]},"maintainers":[{"name":"siamak_rp","email":"siamak.rp@gmail.com"}],"_npmUser":{"name":"siamak_rp","email":"siamak.rp@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/radio-buttons-react-native_1.0.4_1586442621118_0.38687105490251716"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-06T13:28:52.678Z","1.0.0":"2019-10-06T13:28:53.132Z","modified":"2022-05-14T00:53:44.569Z","1.0.2":"2019-10-06T13:46:16.899Z","1.0.3":"2019-10-06T13:55:54.542Z","1.0.4":"2020-04-09T14:30:21.294Z"},"maintainers":[{"name":"siamak_rp","email":"siamak.rp@gmail.com"}],"description":"Animated radio buttons component for react native","homepage":"https://github.com/sramezani/radio-buttons-react-native#readme","keywords":["react-component","react-native","ios","android","form","button","radio-button","radio-buttons","react-native-radio-button","animated","react","mobile"],"repository":{"type":"git","url":"git+https://github.com/sramezani/radio-buttons-react-native.git"},"author":{"name":"Siamak Ramezani","email":"siamak.rp@gmail.com"},"bugs":{"url":"https://github.com/sramezani/radio-buttons-react-native/issues"},"license":"MIT","readme":"# radio-buttons-react-native\nAnimated radio buttons component for react native\n\n4 types animation when click on any items of radio button\n\n\n# DEMO\n![](https://user-images.githubusercontent.com/33284430/66270229-7ef73200-e883-11e9-98bf-4dddd01cd78c.gif)\n\n# install\n    npm install radio-buttons-react-native --save\n    \n# Usage\n    import RadioButtonRN from 'radio-buttons-react-native';\n    \n    const data = [\n    {\n      label: 'data 1'\n     },\n     {\n      label: 'data 2'\n     }\n    ];\n    \n    <RadioButtonRN\n      data={data}\n      selectedBtn={(e) => console.log(e)}\n    />\n\nsee this simple [example](https://github.com/sramezani/radio-buttons-react-native/blob/master/example/index.js) to find how use this component.\n\n<h3>with customize icon:</h3>\n\n    // import icon from any library\n    import Icon from 'react-native-vector-icons/FontAwesome';\n    \n    <RadioButtonRN\n      data={data}\n      selectedBtn={(e) => console.log(e)}\n      icon={\n        <Icon\n          name=\"check-circle\"\n          size={25}\n          color=\"#2c9dd1\"\n        />\n      }\n    />\n    \n    \n\n\n# Properties\n\n| Prop  | Description | Default |\n| ------------- | ------------- | ------------- |\n| data  | radio buttons label array, you can use any data in object, label is necessary for showing in radio button | [] |\n| selectedBtn  | callback when radio button clicked | - |\n| icon  | you can use any icon for button, see the example | - |\n| box  | box of for items  | true |\n| initial  | The number of selected radio button. start from 1 for first item of array. This is used when this component is activated. | -1 |\n| animationTypes  | the animations when click on item, Valid values: 'zoomIn', 'pulse', 'shake', 'rotate', you can use one or more of this value for exaple: ['pulse'] or ['pulse', 'rotate']  | [] |\n| duration  | For how long the animation will run (milliseconds) | 500 |\n| style  | style for all RadioButtonRN  | {} |\n| boxStyle  | style for box  | {} |\n| textStyle  | style for label text  | {} |\n| circleSize  | circle size for unselected items and whitout icon selected size | 18 |\n| activeColor  | color of active button and box border  | '#03a9f4' |\n| deactiveColor  | color of deactive button  | '#e2e2e2' |\n| boxActiveBgColor  | background color of active item, when box is true | '#e1f5fe33' |\n| boxDeactiveBgColor  | background color of deactive items, when box is true  | '#fff' |\n| textColor  | label color  | '#383838' |\n\n# Contributing\nYes of course! Welcome :)\n\n# License\n[MIT](https://github.com/sramezani/radio-buttons-react-native/blob/master/LICENSE)\n","readmeFilename":"README.md"}