react-native-confirmation-code-input
react-native-confirmation-code-input copied to clipboard
Ability to change active and inactive border color
Hi, is it possible to change the active and inactive border color? By default, the active border has opacity 1 and inactive has 0.2. I want to maintain this but also change the color of the border. If I change the borderColor, it applies to all fields (active and inactive). Is there any workaround or can this be added?
Thanks.
just use the props activeColor and inactiveColor. If you want to keep the opacity 1 and 0.2, pass the color as an rgba value instead of hexcode.