radio-buttons-react-native icon indicating copy to clipboard operation
radio-buttons-react-native copied to clipboard

How to push 2 radio button in 1 line

Open hiennm0406 opened this issue 3 years ago • 1 comments

How to push 2 radio button together in 1 line

hiennm0406 avatar Aug 12 '21 04:08 hiennm0406

You can use properties style boxStyle and textStyle to play with see below how

<RadioButtonRN style={{flexWrap:'wrap',flexDirection:"row",alignItems:"center",justifyContent:"center"}} data={data} animationTypes={['pulse']} initial={1} circleSize={20} box={false} selectedBtn={(e) => console.log(e)} activeColor={appFonts.Color.THEMEGREEN} boxStyle={{flex:1,alignItems:"center"}} textStyle={{marginLeft:5,fontFamily: appFonts.AppFonts.medium, fontSize: appFonts.FontSize.FontSize14, color: appFonts.Color.THEMECOLOR}} />

iphonic avatar Aug 20 '21 19:08 iphonic