Open wzup opened 6 years ago
How can I add styles to this component? https://github.com/thegamenicorus/react-native-phone-input/blob/master/lib/index.js#L181
I need to have the following styles:
{ // default flex:1; marginLeft:10; // my custom styles minHeight:36; alignItems:flex-start; justifyContent:center; }
Use textComponnent prop or pass props to TextComponent via textProps.
textComponnent
textProps
<PhoneInput textComponent={CustomTextComponent} />
or
<PhoneInput textProps={{ ...styles.text }} />
How can I add styles to this component? https://github.com/thegamenicorus/react-native-phone-input/blob/master/lib/index.js#L181
I need to have the following styles: