thegamenicorus / react-native-phone-input

Phone input box for React Native
https://www.npmjs.com/package/react-native-phone-input
MIT License
394 stars 447 forks source link

Add wrapper to flag #77

Open Akyna opened 5 years ago

Akyna commented 5 years ago

Hi Sometimes the flag component should be more flexible on styling Can you please provide the some wrapper to this element ? May be something like this Thx

        <TouchableWithoutFeedback
          onPress={this.onPressFlag}
          disabled={disabled}
        >
          <View style={this.props.flagContainerStyle} >
            <Image
              source={Flags.get(iso2)}
              style={[styles.flag, this.props.flagStyle]}
              onPress={this.onPressFlag}
            />
          </View>
        </TouchableWithoutFeedback>