{"_id":"@adv13/my-dropdown-comp","name":"@adv13/my-dropdown-comp","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@adv13/my-dropdown-comp","version":"1.0.0","author":{"name":"Adv13"},"description":"A selectionable dropdown component in React","keywords":["React","component","library","dropdown","select"],"private":false,"main":"dist/index.js","module":"dist/index.js","scripts":{"start":"react-scripts start","build":"SET NODE_ENV=production&&rimraf dist && mkdir dist && npx babel src/lib --out-dir dist --copy-files","test":"react-scripts test","eject":"react-scripts eject"},"devDependencies":{"@babel/cli":"^7.17.10","@babel/core":"^7.18.5","@babel/preset-react":"^7.17.12","babel-cli":"^6.26.0","react":"^18.2.0","react-dom":"^18.2.0","react-scripts":"^5.0.1","rimraf":"^3.0.2"},"peerDependencies":{"react":"^18.1.0","react-dom":"^18.1.0"},"eslintConfig":{"extends":["react-app","react-app/jest"]},"browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"repository":{"type":"git","url":"git+https://github.com/LoisCoulon/dropdown-component.git"},"dependencies":{"prop-types":"^15.8.1","sass":"^1.52.3"},"bugs":{"url":"https://github.com/LoisCoulon/dropdown-component/issues"},"homepage":"https://github.com/LoisCoulon/dropdown-component#readme","license":"ISC","gitHead":"a92825126c2da7160ecbf4ec0eedf45302387433","_id":"@adv13/my-dropdown-comp@1.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-OmaMUSsTOnKJf1LdjGRIyKRTf/xhAtZ/wvNgUP6sCDVpSvOQP8EH2zMz9nRLG4ZSr4wVJ+aEYIWNOqUNfWcY1A==","shasum":"c9baa50d599819af9709b2859c2713252916d8c4","tarball":"https://registry.npmjs.org/@adv13/my-dropdown-comp/-/my-dropdown-comp-1.0.0.tgz","fileCount":5,"unpackedSize":5660,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBYoAWE1RDGCuai8hgRG6Z0CZaFWwvpoir9yZC/9dIpoAiBlkATE9EZ5y92Ov41aXEsWWFLazloMDYia35446LBSCQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1njwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbJxAAoJQR/Wy9t3ERCXOLcsHqNCOXEtKW8TywFkFek4xNGaR3qPK5\r\nf79UlkNTtF8T9esyHqTbeS0IVLuXoZeDCDDq+xgcI1umZx3C3mD40zrquXZM\r\nXS7mmBQKyY74iVIjW2NLmCOyRRiVt/IxdTzBqzHTzR4cQpRgqx/Q81oNdzSe\r\n6uFcaumu/xtDFRCUlAJwaGwsbZ0vXPPyT5bkk2/RhJ4unVI4NSDGdI4Gbybs\r\nkX2xTU0jxAxIEGyS89a+qPcc4aWiYh/xfudjhdCm2RVRh3HZraUrp+BZ6Hm3\r\nS2/GG8ocNIZohYJn5LfyFnDDv7ex//kuI4P+sxrhDwJ3xyo2XK5pYEjmDlK6\r\nwKeFUZErvtlWGClOYKYxr+h5cBQeiu1GcmPGKo+50NLiD16L8yxqESntTpc3\r\n3vVyJDp4GcdZhfbYxx8RZeehhM20NmJHnVwtjwQKaMDBOGJfqwGcU+PZohJO\r\nWXq+XBOXfuBnpUFg62wHeZum9kpy2QD4qYNZKe86+qQCzq4ezzA/RSgAem0n\r\nXFlFe0MIYtdy6KddhoQ9fuplDSL2GvzKtP7HDJve1Kl5qWqG8EOimxyUc8LP\r\nfuBvg09iKT7/N4VMK53mZOjsoiUrvYyD6TH4xZBegpKyyrzkmR19wOUhy7ux\r\nsa3pp8Cr1tc89PHUC8Q1ReeG9LPq2qhfYQk=\r\n=uYmm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"adv13","email":"tiffanydpro923@gmail.com"},"directories":{},"maintainers":[{"name":"adv13","email":"tiffanydpro923@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/my-dropdown-comp_1.0.0_1658222832602_0.5644790689800538"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-19T09:27:12.530Z","1.0.0":"2022-07-19T09:27:12.794Z","modified":"2022-07-19T09:27:12.972Z"},"maintainers":[{"name":"adv13","email":"tiffanydpro923@gmail.com"}],"description":"A selectionable dropdown component in React","homepage":"https://github.com/LoisCoulon/dropdown-component#readme","keywords":["React","component","library","dropdown","select"],"repository":{"type":"git","url":"git+https://github.com/LoisCoulon/dropdown-component.git"},"author":{"name":"Adv13"},"bugs":{"url":"https://github.com/LoisCoulon/dropdown-component/issues"},"license":"ISC","readme":"# my-dropdown-comp\n\nA simple React library created using `create-react-app`.\n\nIt allows you to create a custom selectable component with 3 props\n\n## Installation\n\nRun the following command:\n`npm install my-dropdown-comp`\n\n## Controllable Props\n\n| Prop name     | Description                                                   |\n| ------------- | ------------------------------------------------------------- |\n| options       | **_array_** The list of options                               |\n| defaultOption | **_string_** The message seen in the header by default        |\n| onChange      | **_function_** Gets the value of the clicked option in params |\n\n## Demo\n\n### Code\n\n![example1](./ex_code.png)\n\n### Device\n\n![example2](./ex_default.png)\n![example3](./ex_use.png)\n","readmeFilename":"README.md"}