File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -240,9 +240,9 @@ class Checkbox extends Component<CheckboxProps, CheckboxState> {
240
240
render ( ) {
241
241
const { label, labelStyle, containerStyle, labelProps} = this . props ;
242
242
return label ? (
243
- < View row centerV style = { [ containerStyle ] } >
243
+ < View row centerV style = { containerStyle } >
244
244
{ this . renderCheckbox ( ) }
245
- < Text style = { [ this . styles . checkboxLabel , labelStyle ] } { ...labelProps } onPress = { this . onPress } >
245
+ < Text flexS style = { [ this . styles . checkboxLabel , labelStyle ] } { ...labelProps } onPress = { this . onPress } >
246
246
{ label }
247
247
</ Text >
248
248
</ View >
Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ class RadioButton extends PureComponent<Props, RadioButtonState> {
141
141
const { opacityAnimationValue, scaleAnimationValue} = this . state ;
142
142
const animationTime = 150 ;
143
143
const animationDelay = 60 ;
144
+
144
145
if ( selected ) {
145
146
Animated . parallel ( [
146
147
Animated . timing ( opacityAnimationValue , {
@@ -229,7 +230,7 @@ class RadioButton extends PureComponent<Props, RadioButtonState> {
229
230
const { label, labelStyle, testID} = this . props ;
230
231
return (
231
232
label && (
232
- < Text marginL-10 = { ! this . isContentOnLeft } marginR-10 = { this . isContentOnLeft } $textDefault style = { labelStyle } testID = { `${ testID } .label` } >
233
+ < Text flexS marginL-10 = { ! this . isContentOnLeft } marginR-10 = { this . isContentOnLeft } $textDefault style = { labelStyle } testID = { `${ testID } .label` } >
233
234
{ label }
234
235
</ Text >
235
236
)
You can’t perform that action at this time.
0 commit comments