react-country-state-city
Version:
A lightweight and easy-to-use React library that provides a comprehensive list of regions or continents, countries, states, cities languages, and country phone codes for creating dynamic and searchable dropdowns. Ideal for building forms and input fields
10 lines (9 loc) • 751 B
TypeScript
import CountrySelect from "./components/CountrySelect";
import StateSelect from "./components/StateSelect";
import CitySelect from "./components/CitySelect";
import LanguageSelect from "./components/LanguageSelect";
import RegionSelect from "./components/RegionSelect";
import PhonecodeSelect from "./components/PhonecodeSelect";
import { GetCountries, GetPhonecodesByRegion, GetState, GetCity, GetAllCities, GetLanguages, GetRegions, GetPhonecodes, GetCountriesByRegion } from "./utils";
import "./styles/style.scss";
export { CountrySelect, StateSelect, CitySelect, LanguageSelect, RegionSelect, PhonecodeSelect, GetCountries, GetCountriesByRegion, GetState, GetCity, GetAllCities, GetLanguages, GetRegions, GetPhonecodes, GetPhonecodesByRegion, };