{"_id":"@davzon/react-country-state-city","_rev":"5-82cf1b24f2d619f2c73a010b8f62fbdd","name":"@davzon/react-country-state-city","dist-tags":{"latest":"1.0.10"},"versions":{"1.0.5":{"name":"@davzon/react-country-state-city","version":"1.0.5","description":"React-country-state-city allows you to create a Select dropdown for countries, states, cities with search options.","main":"dist/cjs/index.js","module":"dist/esm/index.js","browser":"dist/umd/index.js","types":"dist/esm/index.d.ts","scripts":{"build":"rollup -c","build:esm":"tsc","build:cjs":"tsc --module commonjs --outDir dist/cjs","lint":"eslint \"{**/*,*}.{js,ts,jsx,tsx}\"","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"","test":"jest --config jestconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run prettier && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/David-Solutions/react-country-state-city.git"},"keywords":["react","country","state","city","dropdown","search","select","country dropdown","state dropdown","city dropdown","component","country select","state select","city select"],"author":{"name":"Venkatesh"},"license":"MIT","bugs":{"url":"https://github.com/David-Solutions/react-country-state-city/issues"},"homepage":"https://github.com/David-Solutions/react-country-state-city#readme","devDependencies":{"@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","@testing-library/react":"^14.0.0","@types/jest":"^29.5.1","@types/react":"^18.0.37","@types/react-test-renderer":"^18.0.0","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","css-loader":"^6.7.3","eslint":"^8.38.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","identity-obj-proxy":"^3.0.0","jest":"^29.5.0","jest-canvas-mock":"^2.5.0","jest-environment-jsdom":"^29.5.0","jest-fetch-mock":"^3.0.3","node-sass":"^8.0.0","prettier":"^2.8.7","react":"^18.2.0","react-dom":"^18.2.0","react-test-renderer":"^18.2.0","rollup":"^3.21.6","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","rollup-plugin-sass":"^1.12.19","rollup-plugin-typescript2":"^0.34.1","style-loader":"^3.3.2","ts-jest":"^29.1.0","typescript":"^5.0.4"},"peerDependencies":{"react":">=16"},"gitHead":"8e1fd28dda1e98493528b5c5f431453b3e9cfbc5","_id":"@davzon/react-country-state-city@1.0.5","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-7DUH0TYPyMsJUz6SxMOirQrbdYOcjL/7HgJoDUH8trqk9wVjcVAwtkiwiWqoScjP3+RXi/FTs1Lyk7uW+RmleQ==","shasum":"8ef3db53774f204e82a39d077e3dde37167e063b","tarball":"https://registry.npmjs.org/@davzon/react-country-state-city/-/react-country-state-city-1.0.5.tgz","fileCount":10,"unpackedSize":72321,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDftHs3zoYcbMlF+Njj6E7q0w63grPWSvYfPbSSFQSpdQIhAM28kLy/iFr663IV35GV4g/ME0j1I4CjtBRzRIRDFlnr"}]},"_npmUser":{"name":"davzon","email":"apps.davzon@gmail.com"},"directories":{},"maintainers":[{"name":"davzon","email":"apps.davzon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-country-state-city_1.0.5_1689807425605_0.8559412505582036"},"_hasShrinkwrap":false},"1.0.6":{"name":"@davzon/react-country-state-city","version":"1.0.6","description":"React-country-state-city allows you to create a Select dropdown for countries, states, cities with search options.","main":"dist/cjs/index.js","module":"dist/esm/index.js","browser":"dist/umd/index.js","types":"dist/esm/index.d.ts","scripts":{"build":"rollup -c","build:esm":"tsc","build:cjs":"tsc --module commonjs --outDir dist/cjs","lint":"eslint \"{**/*,*}.{js,ts,jsx,tsx}\"","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"","test":"jest --config jestconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run prettier && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/David-Solutions/react-country-state-city.git"},"keywords":["react","country","state","city","dropdown","search","select","country dropdown","state dropdown","city dropdown","component","country select","state select","city select"],"author":{"name":"Venkatesh"},"license":"MIT","bugs":{"url":"https://github.com/David-Solutions/react-country-state-city/issues"},"homepage":"https://github.com/David-Solutions/react-country-state-city#readme","devDependencies":{"@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","@testing-library/react":"^14.0.0","@types/jest":"^29.5.1","@types/react":"^18.0.37","@types/react-test-renderer":"^18.0.0","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","css-loader":"^6.7.3","eslint":"^8.38.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","identity-obj-proxy":"^3.0.0","jest":"^29.5.0","jest-canvas-mock":"^2.5.0","jest-environment-jsdom":"^29.5.0","jest-fetch-mock":"^3.0.3","node-sass":"^8.0.0","prettier":"^2.8.7","react":"^18.2.0","react-dom":"^18.2.0","react-test-renderer":"^18.2.0","rollup":"^3.21.6","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","rollup-plugin-sass":"^1.12.19","rollup-plugin-typescript2":"^0.34.1","style-loader":"^3.3.2","ts-jest":"^29.1.0","typescript":"^5.0.4"},"peerDependencies":{"react":">=16"},"gitHead":"ce45fccf22eacef73737287db7fe0b65a67beeba","_id":"@davzon/react-country-state-city@1.0.6","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-2yTkLd1c9dwgC051ScDs5fdwR4h9QcSn2NzybHd0bsaMi+lqqZ8rc3gEgDYH2/zoNiRTj/RHVwTboE8povP5aw==","shasum":"602e413ae5417835ee79fd376bd27659a5fb7ea2","tarball":"https://registry.npmjs.org/@davzon/react-country-state-city/-/react-country-state-city-1.0.6.tgz","fileCount":10,"unpackedSize":74589,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEFI4wMRXRmwNZGlK1v0unV+FpuFPSyXoMcQUonuXEVBAiEA2RJSda29NRCp9ppNol5pmE/ZjjEkHAxUJxlNXIRfJNw="}]},"_npmUser":{"name":"davzon","email":"apps.davzon@gmail.com"},"directories":{},"maintainers":[{"name":"davzon","email":"apps.davzon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-country-state-city_1.0.6_1689859980328_0.937508330514081"},"_hasShrinkwrap":false},"1.0.7":{"name":"@davzon/react-country-state-city","version":"1.0.7","description":"React-country-state-city allows you to create a Select dropdown for countries, states, cities with search options.","main":"dist/cjs/index.js","module":"dist/esm/index.js","browser":"dist/umd/index.js","types":"dist/esm/index.d.ts","scripts":{"build":"rollup -c","build:esm":"tsc","build:cjs":"tsc --module commonjs --outDir dist/cjs","lint":"eslint \"{**/*,*}.{js,ts,jsx,tsx}\"","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"","test":"jest --config jestconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run prettier && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/David-Solutions/react-country-state-city.git"},"keywords":["react","country","state","city","dropdown","search","select","country dropdown","state dropdown","city dropdown","component","country select","state select","city select"],"author":{"name":"Venkatesh"},"license":"MIT","bugs":{"url":"https://github.com/David-Solutions/react-country-state-city/issues"},"homepage":"https://github.com/David-Solutions/react-country-state-city#readme","devDependencies":{"@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","@testing-library/react":"^14.0.0","@types/jest":"^29.5.1","@types/react":"^18.0.37","@types/react-test-renderer":"^18.0.0","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","css-loader":"^6.7.3","eslint":"^8.38.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","identity-obj-proxy":"^3.0.0","jest":"^29.5.0","jest-canvas-mock":"^2.5.0","jest-environment-jsdom":"^29.5.0","jest-fetch-mock":"^3.0.3","node-sass":"^8.0.0","prettier":"^2.8.7","react":"^18.2.0","react-dom":"^18.2.0","react-test-renderer":"^18.2.0","rollup":"^3.21.6","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","rollup-plugin-sass":"^1.12.19","rollup-plugin-typescript2":"^0.34.1","style-loader":"^3.3.2","ts-jest":"^29.1.0","typescript":"^5.0.4"},"peerDependencies":{"react":">=16"},"gitHead":"40d8742b5c55da09468d5d5b80ad410d72569b79","_id":"@davzon/react-country-state-city@1.0.7","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-DA0Q5B3nZIrCbAw5iKYgHwcsyn5BGYsWs39QV9Dp+tK8y6Tzm3ZLHLtm97Ou5gj74bxQw9MFmEoGdtXNGzMfQA==","shasum":"19be0d25f8a2158c4b2229528f0bc8648aadbab1","tarball":"https://registry.npmjs.org/@davzon/react-country-state-city/-/react-country-state-city-1.0.7.tgz","fileCount":10,"unpackedSize":74823,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDq+ppRj4eJXGpNeSIwVHNiXzx8XMxuRX62xub7BuAMiQIgf/QpS4F0g8nuyIHhDlmKGA+uhEas9VQd7/ayoYp1e8I="}]},"_npmUser":{"name":"davzon","email":"apps.davzon@gmail.com"},"directories":{},"maintainers":[{"name":"davzon","email":"apps.davzon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-country-state-city_1.0.7_1689936544881_0.6946599201666115"},"_hasShrinkwrap":false},"1.0.8":{"name":"@davzon/react-country-state-city","version":"1.0.8","description":"React-country-state-city allows you to create a Select dropdown for countries, states, cities with search options.","main":"dist/cjs/index.js","module":"dist/esm/index.js","browser":"dist/umd/index.js","types":"dist/esm/index.d.ts","scripts":{"build":"rollup -c","build:esm":"tsc","build:cjs":"tsc --module commonjs --outDir dist/cjs","lint":"eslint \"{**/*,*}.{js,ts,jsx,tsx}\"","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"","test":"jest --config jestconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run prettier && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/David-Solutions/react-country-state-city.git"},"keywords":["react","country","state","city","dropdown","search","select","country dropdown","state dropdown","city dropdown","component","country select","state select","city select"],"author":{"name":"Venkatesh"},"license":"MIT","bugs":{"url":"https://github.com/David-Solutions/react-country-state-city/issues"},"homepage":"https://github.com/David-Solutions/react-country-state-city#readme","devDependencies":{"@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","@testing-library/react":"^14.0.0","@types/jest":"^29.5.1","@types/react":"^18.0.37","@types/react-test-renderer":"^18.0.0","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","css-loader":"^6.7.3","eslint":"^8.38.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","identity-obj-proxy":"^3.0.0","jest":"^29.5.0","jest-canvas-mock":"^2.5.0","jest-environment-jsdom":"^29.5.0","jest-fetch-mock":"^3.0.3","node-sass":"^8.0.0","prettier":"^2.8.7","react":"^18.2.0","react-dom":"^18.2.0","react-test-renderer":"^18.2.0","rollup":"^3.21.6","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","rollup-plugin-sass":"^1.12.19","rollup-plugin-typescript2":"^0.34.1","style-loader":"^3.3.2","ts-jest":"^29.1.0","typescript":"^5.0.4"},"peerDependencies":{"react":">=16"},"gitHead":"fa2e6d0c7aefd931e8931dbea1de6f844aa442ef","_id":"@davzon/react-country-state-city@1.0.8","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-+YQka23V2fzyRowRWgoMP/RmTTMfHMRluMn75O4eM5VK0ump/bBPp+FRe1qlX8T3oQtGE7zslPdZaYHNqqg04g==","shasum":"996973b551f0b5d50cd9c66621952961ca7934ae","tarball":"https://registry.npmjs.org/@davzon/react-country-state-city/-/react-country-state-city-1.0.8.tgz","fileCount":10,"unpackedSize":74880,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbuWdTUEp7rs3bokEW7WaNXZwOcLZk/RfEOZM6PCIlnAiEAoy4F2ApWv2HUSD2Aj7xRstmcazPkTtvtGWGsXhO6RPs="}]},"_npmUser":{"name":"davzon","email":"apps.davzon@gmail.com"},"directories":{},"maintainers":[{"name":"davzon","email":"apps.davzon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-country-state-city_1.0.8_1689937976075_0.40615420435225613"},"_hasShrinkwrap":false},"1.0.9":{"name":"@davzon/react-country-state-city","version":"1.0.9","description":"React-country-state-city allows you to create a Select dropdown for countries, states, cities with search options.","main":"dist/cjs/index.js","module":"dist/esm/index.js","browser":"dist/umd/index.js","types":"dist/esm/index.d.ts","scripts":{"build":"rollup -c","build:esm":"tsc","build:cjs":"tsc --module commonjs --outDir dist/cjs","lint":"eslint \"{**/*,*}.{js,ts,jsx,tsx}\"","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"","test":"jest --config jestconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run prettier && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/David-Solutions/react-country-state-city.git"},"keywords":["react","country","state","city","dropdown","search","select","country dropdown","state dropdown","city dropdown","component","country select","state select","city select"],"author":{"name":"Venkatesh"},"license":"MIT","bugs":{"url":"https://github.com/David-Solutions/react-country-state-city/issues"},"homepage":"https://github.com/David-Solutions/react-country-state-city#readme","devDependencies":{"@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","@testing-library/react":"^14.0.0","@types/jest":"^29.5.1","@types/react":"^18.0.37","@types/react-test-renderer":"^18.0.0","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","css-loader":"^6.7.3","eslint":"^8.38.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","identity-obj-proxy":"^3.0.0","jest":"^29.5.0","jest-canvas-mock":"^2.5.0","jest-environment-jsdom":"^29.5.0","jest-fetch-mock":"^3.0.3","node-sass":"^8.0.0","prettier":"^2.8.7","react":"^18.2.0","react-dom":"^18.2.0","react-test-renderer":"^18.2.0","rollup":"^3.21.6","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","rollup-plugin-sass":"^1.12.19","rollup-plugin-typescript2":"^0.34.1","style-loader":"^3.3.2","ts-jest":"^29.1.0","typescript":"^5.0.4"},"peerDependencies":{"react":">=16"},"gitHead":"792d6e8eef7855ef4982f4984f8b9a817f9d0cb4","_id":"@davzon/react-country-state-city@1.0.9","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-GKjE/1MLYxkniTmJqcFPS0iAvMh+9eFGOhsq1lnOYGgk75aBL0e3pnQd0xCWjBPR7ZgfOxFxpRsDXruUD0ypqw==","shasum":"089112818605db91b9456fbf75cefe3fd6bbea42","tarball":"https://registry.npmjs.org/@davzon/react-country-state-city/-/react-country-state-city-1.0.9.tgz","fileCount":10,"unpackedSize":74880,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDSR/qpwo9qEjJE7utqn+BaX8orvLrZ2+mbBIJKEE4/5AiEAgJI74uRw8BTXLGdtw+MN/9Vdfr/qSOKf0ILpnLaDyw0="}]},"_npmUser":{"name":"davzon","email":"apps.davzon@gmail.com"},"directories":{},"maintainers":[{"name":"davzon","email":"apps.davzon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-country-state-city_1.0.9_1690849978435_0.5040151517960256"},"_hasShrinkwrap":false},"1.0.10":{"name":"@davzon/react-country-state-city","version":"1.0.10","description":"React-country-state-city allows you to create a Select dropdown for countries, states, cities with search options.","main":"dist/cjs/index.js","module":"dist/esm/index.js","browser":"dist/umd/index.js","types":"dist/esm/index.d.ts","scripts":{"build":"rollup -c","build:esm":"tsc","build:cjs":"tsc --module commonjs --outDir dist/cjs","lint":"eslint \"{**/*,*}.{js,ts,jsx,tsx}\"","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"","test":"jest --config jestconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run prettier && npm run lint"},"repository":{"type":"git","url":"git+https://github.com/David-Solutions/react-country-state-city.git"},"keywords":["react","country","state","city","dropdown","search","select","country dropdown","state dropdown","city dropdown","component","country select","state select","city select"],"author":{"name":"Venkatesh"},"license":"MIT","bugs":{"url":"https://github.com/David-Solutions/react-country-state-city/issues"},"homepage":"https://github.com/David-Solutions/react-country-state-city#readme","devDependencies":{"@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-json":"^6.0.0","@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","@testing-library/react":"^14.0.0","@types/jest":"^29.5.1","@types/react":"^18.0.37","@types/react-test-renderer":"^18.0.0","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","css-loader":"^6.7.3","eslint":"^8.38.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","identity-obj-proxy":"^3.0.0","jest":"^29.5.0","jest-canvas-mock":"^2.5.0","jest-environment-jsdom":"^29.5.0","jest-fetch-mock":"^3.0.3","node-sass":"^8.0.0","prettier":"^2.8.7","react":"^18.2.0","react-dom":"^18.2.0","react-test-renderer":"^18.2.0","rollup":"^3.21.6","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","rollup-plugin-sass":"^1.12.19","rollup-plugin-typescript2":"^0.34.1","style-loader":"^3.3.2","ts-jest":"^29.1.0","typescript":"^5.0.4"},"peerDependencies":{"react":">=16"},"gitHead":"dc24858c16cefcdc821f15372e9b2bc073d6c7b6","_id":"@davzon/react-country-state-city@1.0.10","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-QRsNq10dr0DZ+2D/VltK/sioCXGI3/hQmdNOuENXWg13o9En0r/SU7CLV5rEPbVbo7XV2pr9QJVgKJfLJZXkrg==","shasum":"1e73b8dc9dfaab8823465bd6e4a6d7deb6af68b0","tarball":"https://registry.npmjs.org/@davzon/react-country-state-city/-/react-country-state-city-1.0.10.tgz","fileCount":10,"unpackedSize":75055,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGaQT/O0yB5QcEWA39RagqXAx7rXC6FyfLKvZuHQo+gWAiAsyTwTJhHWvSOXL0Fev5hglC8czfLEPffn21jMnn98mA=="}]},"_npmUser":{"name":"davzon","email":"apps.davzon@gmail.com"},"directories":{},"maintainers":[{"name":"davzon","email":"apps.davzon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-country-state-city_1.0.10_1690850513710_0.6205377509508754"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-19T22:57:05.521Z","1.0.5":"2023-07-19T22:57:05.753Z","modified":"2023-08-01T00:41:53.952Z","1.0.6":"2023-07-20T13:33:00.562Z","1.0.7":"2023-07-21T10:49:05.124Z","1.0.8":"2023-07-21T11:12:56.261Z","1.0.9":"2023-08-01T00:32:58.587Z","1.0.10":"2023-08-01T00:41:53.842Z"},"maintainers":[{"name":"davzon","email":"apps.davzon@gmail.com"}],"description":"React-country-state-city allows you to create a Select dropdown for countries, states, cities with search options.","homepage":"https://github.com/David-Solutions/react-country-state-city#readme","keywords":["react","country","state","city","dropdown","search","select","country dropdown","state dropdown","city dropdown","component","country select","state select","city select"],"repository":{"type":"git","url":"git+https://github.com/David-Solutions/react-country-state-city.git"},"author":{"name":"Venkatesh"},"bugs":{"url":"https://github.com/David-Solutions/react-country-state-city/issues"},"license":"MIT","readme":"# React-country-state-city\n\nReact-country-state-city allows you to create a responsive country, state, city dropdown with search options.\n\n## Installation\n\n```\n$ npm install --save react-country-state-city\n$ yarn add react-country-state-city\n```\n\n## Features\n\n- Easy to set up for real, you can make it work in less than 1minute!\n- Super easy to customize\n- Autosuggest: a list of matching countries is displayed when the input text changes.\n- Country data is provided, State data is provided based on given country id, City data is provided based on given country id and state id.\n- Country flag icons.\n- onChange and onTextChange callbacks.\n- And much more !\n\n## The gist\n\n```jsx\nimport {\n  CitySelect,\n  CountrySelect,\n  StateSelect,\n} from \"react-country-state-city\";\nimport \"react-country-state-city/dist/react-country-state-city.css\";\n\nfunction App() {\n  const [countryid, setCountryid] = useState(0);\n  const [stateid, setstateid] = useState(0);\n  return (\n    <div>\n      <h6>Country</h6>\n      <CountrySelect\n        onChange={(e) => {\n          setCountryid(e.id);\n        }}\n        placeHolder=\"Select Country\"\n      />\n      <h6>State</h6>\n      <StateSelect\n        countryid={countryid}\n        onChange={(e) => {\n          setstateid(e.id);\n        }}\n        placeHolder=\"Select State\"\n      />\n      <h6>City</h6>\n      <CitySelect\n        countryid={countryid}\n        stateid={stateid}\n        onChange={(e) => {\n          console.log(e);\n        }}\n        placeHolder=\"Select City\"\n      />\n    </div>\n  );\n}\n```\n\n### City Example\n\n<img src=\"https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/master/example/src/example1.png\" alt=\"React country state city example screenshot\"/>\n\n### State Example\n\n<img src=\"https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/master/example/src/example2.png\" alt=\"React country state city example screenshot\"/>\n\n### Country Example\n\n<img src=\"https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/master/example/src/example3.png\" alt=\"React country state city example screenshot\"/>\n\n## The Country Select Properties\n\nProperties used to customise the rendering:\n\n| Name               | Type     | Description                                                                             |\n| ------------------ | -------- | --------------------------------------------------------------------------------------- |\n| defaultValue       | Country  | `optional` The current value: a country object                                          |\n| containerClassName | string   | `optional` styles for a container                                                       |\n| inputClassName     | string   | `optional` styles for input box                                                         |\n| onChange           | function | `optional` The current value: a country object.The argument is the country object       |\n| onTextChange       | function | `optional` A callback fired when the input text changes.                                |\n| placeHolder        | string   | `optional` Placeholder text displayed in empty input                                    |\n| showFlag           | boolean  | `optional` Flags are displayed when true and not displayed when false. default is true. |\n\n## State Select Properties\n\nThe same country select properties and additionally\n\n| Name      | Type   | Description                                      |\n| --------- | ------ | ------------------------------------------------ |\n| countryid | number | `required` The id of the selected country object |\n\n## City Select Properties\n\nThe same country select properties and additionally\n\n| Name      | Type   | Description                                      |\n| --------- | ------ | ------------------------------------------------ |\n| countryid | number | `required` The id of the selected country object |\n| stateid   | number | `required` The id of the selected state object   |\n\n## Demo\n\n[A demo is worth a thousand words](https://venkatmcajj.github.io/react-country-state-city/example)\n\n## Contribute\n\nShow your ❤️ and support by giving a ⭐. Any suggestions are welcome! venkatmcajj@gmail.com\n\n## Financial Contributors\n\nBecome a financial contributor and help us sustain our community. [Contribute](https://opencollective.com/react-country-state-city) \n\n\n## License\n\nLicensed under MIT\n","readmeFilename":"README.md"}