thegamenicorus/react-native-flexi-radio-button

Is there a way to change outer radio circle's color?

bexoss opened this issue · 2 comments

First Thanks for making this.

Okay there is a option to change radio dot, using color into RadioButton element.
But how about outer radio circle's color?
Actually what I'm trying to do is
cap1

gray color to unselected item, blue color to selected item.
Is there a way to do it?

Hello @bexoss

You can upgrade react-native-flexi-radio-button to v. 0.1.9
I've add 'activeColor' to RadioGroup in this version.
From your example, you can code like these::

<RadioGroup 
    //...other props
    color = 'grey'
    activeColor = 'blue'
>
   //...radio buttons
</RadioGroup>

Thank you for your request.
Enjoy coding :)

@thegamenicorus Thanks to quick update! You are awesome!