File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -401,13 +401,13 @@ class DropDownPicker extends React.Component {
401
401
{ this . state . choice . icon && ! multiple && this . state . choice . icon ( ) }
402
402
< Text style = { [
403
403
{ color : 'red' } , // default label color
404
- this . props . labelStyle ,
405
404
placeholderStyle , { opacity, flex : 1 } , {
406
405
marginLeft : ( this . props . labelStyle . hasOwnProperty ( 'textAlign' ) && this . props . labelStyle . textAlign === 'left' ) || ! this . props . labelStyle . hasOwnProperty ( 'textAlign' ) ? 5 : 0 ,
407
406
marginRight : ( this . props . labelStyle . hasOwnProperty ( 'textAlign' ) && this . props . labelStyle . textAlign === 'right' ) ? 5 : 0 ,
408
407
} ,
409
408
this . state . choice . label !== null && this . props . selectedLabelStyle ,
410
- this . state . choice . icon ?? { marginLeft : 5 }
409
+ this . state . choice . icon ?? { marginLeft : 5 } ,
410
+ this . props . labelStyle
411
411
] } { ...this . props . labelProps } >
412
412
{ multiple ? (
413
413
this . state . choice . length > 0 ? this . getNumberOfItems ( ) : placeholder
You can’t perform that action at this time.
0 commit comments