there is way to color the whole button both inside and outside ? coz as it now so its color white in outside and the inside is blue but i want it will be white also .
i use the react-native-simple-radio-button
and u can see the link.. the link
JavaScript
x
23
23
1
import RadioForm, {
2
RadioButton,
3
RadioButtonInput,
4
RadioButtonLabel,
5
} from 'react-native-simple-radio-button';
6
7
<RadioForm
8
buttonColor={'white'}
9
animation={true}
10
labelHorizontal={true}
11
labelStyle={{
12
fontSize: 18,
13
left: 15,
14
color: 'white',
15
}}
16
buttonSize={20}
17
radio_props={sort_radio_props}
18
initial={3}
19
onPress={(value) => {
20
setSortRadio({ value: value });
21
}}
22
/>
23
Advertisement
Answer
when use RadioForm you can set selectedButtonColor prop
example : selectedButtonColor = ‘white’