{"_id":"@amr-test/react-shared-component","_rev":"1-e60ceb0db724ffff678b05a31268c25a","name":"@amr-test/react-shared-component","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@amr-test/react-shared-component","version":"1.0.0","description":"Made with create-react-library","author":{"name":"amirsaga"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/amirsaga/react-shared-components.git"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.js","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs --css-modules false","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"formik":"^2.2.6","react":">=17.0.1","react-dom":">=17.0.1"},"devDependencies":{"babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","formik":"^2.2.6","gh-pages":"^2.2.0","microbundle-crl":"^0.13.10","node-sass":"4.14.1","npm-run-all":"^4.1.5","prettier":"^2.0.4","react-number-format":"^4.4.4","react-scripts":"^3.4.1"},"gitHead":"aa3a65f4a2ac5df44699f1ebf05daf218735f98b","bugs":{"url":"https://github.com/amirsaga/react-shared-components/issues"},"homepage":"https://github.com/amirsaga/react-shared-components#readme","_id":"@amr-test/react-shared-component@1.0.0","_nodeVersion":"10.19.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-n9Sugb2LiaKk0SxrKcWVayt0mNLfyvk3D3jPOuQPv5BG+qrMduzrhQb4uNAyuw9MM0Gu/TNgY0kN5APulh/KaQ==","shasum":"bfe09ef86912c6d0c034e7aec5eba64d9575d64e","tarball":"https://registry.npmjs.org/@amr-test/react-shared-component/-/react-shared-component-1.0.0.tgz","fileCount":7,"unpackedSize":355690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEPhSCRA9TVsSAnZWagAAsvcP/1RF87kQ968XH0quooTo\nJDcc38ZxRC/+oXLjQoK6UdWukrqA1sjtOaOOSqimRHBVmoSvvl+wbEfgC+Uq\neTOvhJSMg4IUF2ad4ArtlYjIlLVkZEYX8J2Lk5E1vwSdOVJR9S6UBmdLFsne\nj6m3hClQ8goXCdf997Z+TKCY9xgppnuWE0gqiI4Nkg90/uoWW55VAcW73wOq\nkDb22nmWBw0PEuwQZgNw2CjiHhCvyzKi1hnhczoykXmjsf6JGLB4gphCbbrQ\nfd4BpagvTMzd1K82hvF5HT1a/oNw0KSeRq2kOL9A5Uc7eHSV6Bb98DryTt9s\ngLWO87s7/Q8yjelDKuFeBjRrFr8RrOT8T/cO1rApMz2YW3PaEGNmi8Y1OlB8\naztDwCKeEq71Mq1uL6lyf9A3sOJe+yFOn2+ziwVAa1tqNHbyFmyGH+4x5Hft\ncZzDBb62ZimXSGcBgWpzkulPhmQ/G7FTh4zVBgZWePfAxl8pFlmT2b288DLz\nZ14kMJAMKgrhSXyWbYb+42dYZFGz/W9dx/exqtP0Jo0SmKHpOiShfw3H+Zww\nqlNgN9OuAN+EjbMK7eD26ZpmsmQMKC6/0Ki0WSYVz0NpN7FJQurpICPmeNtK\nO8xuIqEPi1NIFsMLJxWUZCODi9osP2Q9Z2TNYdHTwOwta3URbxkrNfGdBukQ\nF4OQ\r\n=cF08\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9q/kgSR2XcalE/0q7FAhFVaq1lsuTy0wT0ehSUy/lAwIhAPerfnmEIjbfrpTLVLwX8ongE+z0Kj5IGA8Tak8gjGQB"}]},"_npmUser":{"name":"amirsaga","email":"mrshrsth007@gmail.com"},"directories":{},"maintainers":[{"name":"amirsaga","email":"mrshrsth007@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-shared-component_1.0.0_1611724882172_0.2560660026682948"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-27T05:21:21.922Z","1.0.0":"2021-01-27T05:21:22.405Z","modified":"2022-04-04T13:52:57.501Z"},"maintainers":[{"name":"amirsaga","email":"mrshrsth007@gmail.com"}],"description":"Made with create-react-library","homepage":"https://github.com/amirsaga/react-shared-components#readme","repository":{"type":"git","url":"git+https://github.com/amirsaga/react-shared-components.git"},"author":{"name":"amirsaga"},"bugs":{"url":"https://github.com/amirsaga/react-shared-components/issues"},"license":"MIT","readme":"# react-shared-component\n\n> Made with create-react-library\n\n[![NPM](https://img.shields.io/npm/v/react-shared-component.svg)](https://www.npmjs.com/package/react-shared-component) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Install\n\n```bash\nnpm install --save react-shared-component\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from 'react'\n\nimport { FormikControl, Form, Formik } from 'react-shared-component'\n\nclass Example extends Component {\n    render() {\n        return (\n            <Formik>\n                {({ values }) => {\n                    return (\n                        <Form>\n                            <FormikControl\n                                control='select'\n                                label='Any State'\n                                name='state'\n                            />\n                            <FormikControl\n                                control='numeric'\n                                label='Property Value'\n                                name='property_value'\n                                placeholder='Enter property value'\n                            />\n                            <FormikControl\n                                control='radio'\n                                label='Property Type'\n                                name='property_type'\n                            />\n                        </Form>\n                    )\n                }}\n            </Formik>\n        )\n    }\n}\n```\n## References:\n- https://github.com/transitive-bullshit/create-react-library\n- https://soshace.com/how-to-careate-a-react-ccomponent-library-using-a-modal-example/\n## License\n\nMIT © [amirsaga](https://github.com/amirsaga)\n","readmeFilename":"README.md"}