{"_id":"@adv13/my-dropdown-comp3","name":"@adv13/my-dropdown-comp3","dist-tags":{"latest":"2.0.0"},"versions":{"2.0.0":{"name":"@adv13/my-dropdown-comp3","version":"2.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-comp3@2.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-Qdiw0B4QUfV5fcQPu1uyQRQtLmJ6Ct9Uel4AAn2zQZ3y68LZR8yUTHW/qDEUsPm/ZTTxm+DvbaUV5NPMy+tdcg==","shasum":"fa07ae8aae53ae3ae9dcd893c5611408712356e5","tarball":"https://registry.npmjs.org/@adv13/my-dropdown-comp3/-/my-dropdown-comp3-2.0.0.tgz","fileCount":5,"unpackedSize":5661,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEFPyd44GEVG6vblxlRKr0vfnOu0u//rZ6Yg5udiIIkbAiEAxp1Uj3mpUiJHnB2wE44u+mjg/OVd+fp0MZt3+DYqPgM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6/lFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqldg//eQeYH5zl8RuNBwhlDV+QzdArsgTyWbgZ7pPq4XDobXBzyRtc\r\n1ZuahgdUCiusJfwLvZTIbjRdtXTWtMNC9yJGS8CBh+ZpzkLwZOs+nVDvxGzu\r\nYA7+bVKaSjjjv5sEtdXgQf2nDQM/Z1DDoET/v1/Q7kG5UyS+o1uhjSHoOAbz\r\nKoTrWwb/Zxj27zv+pGpS/C1cFkIsJS498Jb/v3pQe8qFR5yEAUfA2Jak4iM5\r\nvXK4RpMjOdAwneq9Vi/HuVDyzbgYUbVpMCBlNxghxvgh8PzCEMBTsWqQuC5x\r\nr7EE0girIyK9UbP0T8DvEy1oZWJdi+/3MK189bleftm+odQ1OsCO4TXgdze0\r\nGbXF4TDSqbqMiL2rhejwvlS3saQ+OIp/43jKRZXULxx3+e2UCH6x3lgqGVPo\r\nGj5WZyKGDhkAQQukptiiY0dUXgIIoKDlBia5CbLZC44dh7vfrPZ07ytxderK\r\nBwZ666eWfs2EM+1weSWBiv7P4J8raE2auFzho1lOAmfKTXbuo4K0d5lTRv0x\r\nm1T146xLilkVHruZZe7s6OLzjEixERS6V6sYxXdGC6TYbXbLTu7n2FlD96lS\r\nShhM9w1eOdVrUf1pj9QU45Sb7cxtUsG4B+anzEP26QwVtU8UdobwS3VnJk6R\r\nm2Jka8pwuWVg6yaYvvk9vKPtvDeBVGgW3IU=\r\n=6EH0\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-comp3_2.0.0_1659631941633_0.6142232718492022"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-04T16:52:21.570Z","2.0.0":"2022-08-04T16:52:21.807Z","modified":"2022-08-04T16:52:21.932Z"},"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"}