react-native-confirmation-code-input icon indicating copy to clipboard operation
react-native-confirmation-code-input copied to clipboard

Ability to change active and inactive border color

Open aks1994 opened this issue 7 years ago • 1 comments

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.

aks1994 avatar Jun 15 '18 01:06 aks1994

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.

ouoru avatar Jul 09 '18 22:07 ouoru