Open kierangillen opened 2 years ago
Hi!
Just wanted to give you a heads up that the flagSize is not applied to the Flag element in renderFlagButton: https://github.com/garganurag893/react-native-phone-number-input/blob/master/lib/index.js#L131. The flagSize doesn't exist on this.props so this will never be applied. We'll need to get the flagSize from this.props.countryPickerProps.theme.flagSize for custom sizes.
flagSize
Flag
renderFlagButton
this.props
this.props.countryPickerProps.theme.flagSize
I don't have time right now but I may be able to send a PR in the future for this.
But when I send it from outside it's not working countryPickerProps={{ theme: { flagSize: 20, }, }}
Hi!
Just wanted to give you a heads up that the
flagSize
is not applied to theFlag
element inrenderFlagButton
: https://github.com/garganurag893/react-native-phone-number-input/blob/master/lib/index.js#L131. TheflagSize
doesn't exist onthis.props
so this will never be applied. We'll need to get theflagSize
fromthis.props.countryPickerProps.theme.flagSize
for custom sizes.I don't have time right now but I may be able to send a PR in the future for this.