@@ -41,7 +41,6 @@ export default class MultiSelect extends Component {
41
41
tagBorderColor : PropTypes . string ,
42
42
tagTextColor : PropTypes . string ,
43
43
tagContainerStyle : ViewPropTypes . style ,
44
- tagFontSize : PropTypes . number ,
45
44
fontFamily : PropTypes . string ,
46
45
tagRemoveIconColor : PropTypes . string ,
47
46
onSelectedItemsChange : PropTypes . func . isRequired ,
@@ -65,6 +64,7 @@ export default class MultiSelect extends Component {
65
64
styleSelectorContainer : ViewPropTypes . style ,
66
65
styleTextDropdown : Text . propTypes . style ,
67
66
styleTextDropdownSelected : Text . propTypes . style ,
67
+ styleTextTag : Text . propTypes . style ,
68
68
altFontFamily : PropTypes . string ,
69
69
hideSubmitButton : PropTypes . bool ,
70
70
hideDropdown : PropTypes . bool ,
@@ -178,11 +178,11 @@ export default class MultiSelect extends Component {
178
178
tagContainerStyle,
179
179
tagRemoveIconColor,
180
180
tagBorderColor,
181
- tagFontSize,
182
181
uniqueKey,
183
182
tagTextColor,
184
183
selectedItems,
185
- displayKey
184
+ displayKey,
185
+ styleTextTag
186
186
} = this . props ;
187
187
const actualSelectedItems = optionalSelectedItems || selectedItems ;
188
188
return actualSelectedItems . map ( singleSelectedItem => {
@@ -207,8 +207,9 @@ export default class MultiSelect extends Component {
207
207
{
208
208
flex : 1 ,
209
209
color : tagTextColor ,
210
- fontSize : tagFontSize || 15
210
+ fontSize : 15
211
211
} ,
212
+ styleTextTag && styleTextTag ,
212
213
fontFamily ? { fontFamily } : { }
213
214
] }
214
215
numberOfLines = { 1 }
0 commit comments