Open sam9010 opened 3 years ago
Hi, @sam9010 Can you elaborate on the issue? You can set RadioButtonLabel before RadioButtonInput.
Hi, @sam9010 Can you elaborate on the issue? You can set RadioButtonLabel before RadioButtonInput.
how ?
my sample code:
<View style={{flex:1}}> <View style={{flex:0.2}}> <Text allowFontScaling={false} style={{fontFamily:'font',}}>{strings.cancellation}</Text> </View> <View style={{flex:0.8,alignItems:'center',}}> <RadioForm style={{fontFamily:'font',}} radioStyle={{paddingRight: 20}} radio_props={this.state.radioList_cancellation} initial={this.state.radioIndex_cancellation} formHorizontal={true} labelHorizontal={false} buttonColor={strings.color_app} selectedButtonColor={this.state.color} animation={true} onPress={(value,index) => {this.setRadio_cancellation(value,index)}} /> </View></View>
and my import is:
import RadioForm from 'react-native-simple-radio-button';
I want to show label in left and radio in right
plz help me