add country-flag-icons to our public folder to be used instead of the external domain when loading country flags for react-phone-number-input (#8959)

This commit is contained in:
jemiluv8 authored and GitHub committed 2023-05-23 08:56:24 +00:00
1 parent 12cea947ec
commit 49757010ba
259 files changed
+6694

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ function PhoneInput({ name, className = "", onChange, ...rest }: PhoneInputProps
return (
<BasePhoneInput
{...rest}
flagUrl="/country-flag-icons/3x2/{XX}.svg"
international
defaultCountry={defaultCountry}
name={name}