diff --git a/lib/react-native-multi-select.js b/lib/react-native-multi-select.js index de80a20..56fa87f 100644 --- a/lib/react-native-multi-select.js +++ b/lib/react-native-multi-select.js @@ -65,6 +65,8 @@ export default class MultiSelect extends Component { styleTextDropdown: Text.propTypes.style, styleTextDropdownSelected: Text.propTypes.style, styleTextTag: Text.propTypes.style, + styleNoItemContainer: ViewPropTypes.style, + styleNoItemText: Text.propTypes.style, altFontFamily: PropTypes.string, hideSubmitButton: PropTypes.bool, hideDropdown: PropTypes.bool, @@ -482,7 +484,9 @@ export default class MultiSelect extends Component { selectedItems, flatListProps, styleListContainer, - removeSelected + removeSelected, + styleNoItemContainer = {}, + styleNoItemText = {} } = this.props; const { searchTerm } = this.state; let component = null; @@ -514,7 +518,12 @@ export default class MultiSelect extends Component { .length; } else if (!canAddItems) { itemList = ( - + No item to display.