diff --git a/lib/components/RowItem.js b/lib/components/RowItem.js index 686d9b1..d6eb932 100644 --- a/lib/components/RowItem.js +++ b/lib/components/RowItem.js @@ -171,13 +171,13 @@ class RowItem extends Component { _renderSelectedIcon = () => { const { item, - selectedIconComponent, + selectedParentIconComponent, // NM mergedColors, - unselectedIconComponent, + unselectedParentIconComponent, // NM iconRenderer: Icon, } = this.props return this._itemSelected(item) - ? callIfFunction(selectedIconComponent) || ( + ? callIfFunction(selectedParentIconComponent) || ( // NM ) - : callIfFunction(unselectedIconComponent) || null + : callIfFunction(unselectedParentIconComponent) || null // NM } render() { diff --git a/lib/sectioned-multi-select.js b/lib/sectioned-multi-select.js index c07b4a3..d57da4c 100644 --- a/lib/sectioned-multi-select.js +++ b/lib/sectioned-multi-select.js @@ -150,6 +150,13 @@ class SectionedMultiSelect extends PureComponent { searchIconComponent: PropTypes.oneOfType([PropTypes.func, PropTypes.object]), selectedIconComponent: PropTypes.oneOfType([PropTypes.func, PropTypes.object]), unselectedIconComponent: PropTypes.oneOfType([PropTypes.func, PropTypes.object]), + + // NM ADD + selectedParentIconComponent: PropTypes.oneOfType([PropTypes.func, PropTypes.object]), + unselectedParentIconComponent: PropTypes.oneOfType([PropTypes.func, PropTypes.object]), + // NM ADD END + + dropDownToggleIconUpComponent: PropTypes.oneOfType([PropTypes.func, PropTypes.object]), dropDownToggleIconDownComponent: PropTypes.oneOfType([PropTypes.func, PropTypes.object]), chipRemoveIconComponent: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),