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:
1 parent
12cea947ec
commit
49757010ba
259 files changed
+6694
No files matched your search
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user