@@ -40,6 +40,7 @@ export default class MultiSelect extends Component {
40
40
uniqueKey : PropTypes . string ,
41
41
tagBorderColor : PropTypes . string ,
42
42
tagTextColor : PropTypes . string ,
43
+ tagContainerStyle : ViewPropTypes . style ,
43
44
tagFontSize : PropTypes . number ,
44
45
fontFamily : PropTypes . string ,
45
46
tagRemoveIconColor : PropTypes . string ,
@@ -171,9 +172,10 @@ export default class MultiSelect extends Component {
171
172
return find ( items , singleItem => singleItem [ uniqueKey ] === itemKey ) || { } ;
172
173
} ;
173
174
174
- _displaySelectedItems = optionalSelctedItems => {
175
+ _displaySelectedItems = optionalSelectedItems => {
175
176
const {
176
177
fontFamily,
178
+ tagContainerStyle,
177
179
tagRemoveIconColor,
178
180
tagBorderColor,
179
181
tagFontSize,
@@ -182,7 +184,7 @@ export default class MultiSelect extends Component {
182
184
selectedItems,
183
185
displayKey
184
186
} = this . props ;
185
- const actualSelectedItems = optionalSelctedItems || selectedItems ;
187
+ const actualSelectedItems = optionalSelectedItems || selectedItems ;
186
188
return actualSelectedItems . map ( singleSelectedItem => {
187
189
const item = this . _findItem ( singleSelectedItem ) ;
188
190
if ( ! item [ displayKey ] ) return null ;
@@ -195,7 +197,8 @@ export default class MultiSelect extends Component {
195
197
justifyContent : 'center' ,
196
198
height : 40 ,
197
199
borderColor : tagBorderColor
198
- }
200
+ } ,
201
+ tagContainerStyle || { }
199
202
] }
200
203
key = { item [ uniqueKey ] }
201
204
>
0 commit comments