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

can we hide calling code from layout first, showing flag only?

Open rishiankush opened this issue 3 years ago • 2 comments

The module is working great, but I am wondering if in layout "first" we can have option to remove the calling code, and show only flag. Since we already have default code option so it will come from there.

rishiankush avatar Apr 27 '22 03:04 rishiankush

Hey, set this tag like this

codeTextStyle={styles.codeTextStyle}

and in style

codeTextStyle : { display: 'none' }

this will only show the flag container not codes

DhrutiPandya0267 avatar Feb 01 '23 06:02 DhrutiPandya0267

image

DhrutiPandya0267 avatar Feb 01 '23 06:02 DhrutiPandya0267