react-native-phone-number-input icon indicating copy to clipboard operation
react-native-phone-number-input copied to clipboard

I cannot change color on dropdown list icon because it's image that's why I am not able to changing it and also I cannot change placeholder text color please pass a prop that we will use on it

Open smuhammadtaha opened this issue 3 years ago • 1 comments

        <PhoneInput
          ref={phoneInput}
          defaultValue={value}
          defaultCode="US"
          layout="first"
          onChangeText={text => {
            setValue(text);
          }}
          onChangeFormattedText={text => {
            setFormattedValue(text);
            setCountryCode(phoneInput.current?.getCountryCode() || '');
          }}
          countryPickerProps={{withAlphaFilter: true}}
          // withDarkTheme
          withShadow
          autoFocus
          flagButtonStyle={{
            backgroundColor: '#000',
          }}
          containerStyle={{height: 60, borderRadius: 15}}
          textContainerStyle={{
            borderTopRightRadius: 15,
            borderBottomRightRadius: 15,
          }}
          textInputStyle={{height: 60, top: 1}}
          placeholder={'Enter Phone Number'}
        />

smuhammadtaha avatar Jul 21 '22 07:07 smuhammadtaha