You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.
I created stylysheet with StyleSheet.create({...}), and send part of it to PhoneInput, however everytime while running the application I'm facing the following messages:
Invalid prop flagStyle of type number supplied to PhoneInput, expected object
Code is the following: <PhoneInput textStyle={styles.phoneInputText} flagStyle={styles.phoneInputFlag} ref="phoneInput" onChangePhoneNumber={(phoneNumber)=>{this.onPhoneFieldChange(phoneNumber, this.refs.phoneInput.isValidNumber());}}/>
As you can see I'm sending style.phoneInputFlag, that is equal to: phoneInputFlag:{ width:65, height:50, borderWidth:0 }
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I created stylysheet with StyleSheet.create({...}), and send part of it to PhoneInput, however everytime while running the application I'm facing the following messages:
Code is the following:
<PhoneInput textStyle={styles.phoneInputText} flagStyle={styles.phoneInputFlag} ref="phoneInput" onChangePhoneNumber={(phoneNumber)=>{this.onPhoneFieldChange(phoneNumber, this.refs.phoneInput.isValidNumber());}}/>
As you can see I'm sending style.phoneInputFlag, that is equal to:
phoneInputFlag:{ width:65, height:50, borderWidth:0 }
The text was updated successfully, but these errors were encountered: