File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,7 +231,12 @@ class ModalItem extends Component {
231231 underlayColor = "transparent"
232232 onPress = { this . _toggleSelect } >
233233 < View style = { Styles . modalItem } >
234- < Text style = { Styles . modalText } numberOfLines = { 1 } ellipsisMode = "tail" > { this . props . children } </ Text >
234+ < Text
235+ style = { [ Styles . modalText , customStyle . modalText || { } ] }
236+ numberOfLines = { 1 }
237+ ellipsisMode = "tail" >
238+ { this . props . children }
239+ </ Text >
235240 < View style = { [ Styles . outerCircle , this . isSelected ? Styles . enableCircle : { } , customStyle . outerCircle || { } ] } >
236241 { this . isSelected && < View style = { [ Styles . innerCircle , customStyle . innerCircle || { } ] } /> }
237242 </ View >
Original file line number Diff line number Diff line change @@ -40,10 +40,13 @@ exports[`test renders a modal item 1`] = `
4040 ellipsizeMode = " tail"
4141 numberOfLines = { 1 }
4242 style = {
43- Object {
44- " fontSize" : 16 ,
45- " width" : 380 ,
46- }
43+ Array [
44+ Object {
45+ " fontSize" : 16 ,
46+ " width" : 380 ,
47+ },
48+ Object {},
49+ ]
4750 } >
4851 C
4952 </Text >
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-label-select" ,
3- "version" : " 1.0.10 " ,
3+ "version" : " 1.1.0 " ,
44 "description" : " A label select component for React Native apps" ,
55 "keywords" : [
66 " label" ,
You can’t perform that action at this time.
0 commit comments