itzpradip / RNDependentDropdown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependent Dropdown List in React Native

In this project I have created cascading dropdowns to display country, state and city list. Based on users selection of country list of state will apear and similarly based on country and state user will have list cities.

This project is done with the help of API from https://countrystatecity.in/ and the select dropdown has been created with react native element dropdown package.

Watch it on YouTube

This repository is part of of a tutorial on my YouTube channel.

Project Setup

  • Install the packages by using npm install command
  • In the root path of the directory you'll find .env_example file, change that to .env and use your own API key from the site mentioned above.

App Screenshot

RN Dependent Dropdown App

About


Languages

Language:Java 37.9%Language:JavaScript 19.3%Language:C++ 16.9%Language:Objective-C++ 10.7%Language:Objective-C 5.8%Language:Makefile 3.7%Language:Ruby 3.0%Language:Starlark 1.5%Language:Shell 1.2%