项目
在 GitHub 查看
country-regions/react-country-region-selector
关于
Country-region dropdowns for your React forms
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.0has been released! This is a major rewrite of the whole script.
- Breaking changes:
- Minimum react version updated to 16.8.0 (hooks)
classesprop has been renamedclassNameonBlurcallback 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
探索相关项目
加载中…