Skip to content
المشاريع

country-regions/react-country-region-selector

عرض على GitHub

حول

Country-region dropdowns for your React forms

تطوير الويب والتطبيقات

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

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.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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…