Skip to content
프로젝트

country-regions/react-country-region-selector

GitHub에서 보기

소개

Country-region dropdowns for your React forms

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

react-country-region-selector

About

This library provides a pair of React components to display connected country and region dropdowns (pick a country, it shows the relevant regions). If you're not using React, check out the plain vanilla JS version instead. The list of countries and regions is maintained separately and found in the country-region-data repo.

[!NOTE]

4.0.0 has been released! This is a major rewrite of the whole script.

  • Breaking changes:
    • Minimum react version updated to 16.8.0 (hooks)
    • classes prop has been renamed className
    • onBlur callback is no longer passed the selected value as first argument, just the event
  • Improvements:
    • completely rewritten in modern React and typescript, plus a new dev environment for working locally
    • greatly improved documentation
    • now supports integrations with third party component library (Material UI, Fluent UI etc.)
    • bundle size now 72KB (previously 88KB)

Please report any issues here on github.

Demos & Doc

Check out the github pages section for the full documentation + example JSX code.

Developer links

License

MIT

관련 프로젝트 살펴보기

불러오는 중…