diff --git a/src/toolbar/macOs/nav/item/item.js b/src/toolbar/macOs/nav/item/item.js index 6a68cb4b..7b74ed51 100644 --- a/src/toolbar/macOs/nav/item/item.js +++ b/src/toolbar/macOs/nav/item/item.js @@ -28,19 +28,14 @@ class Item extends Component { static propTypes = { name: PropTypes.string, icon: PropTypes.element, + selected: PropTypes.bool }; - isSvg(icon) { - return icon.type === 'svg'; - } - render() { - const { name, icon, style, ...props } = this.props; - - this.isSvg(icon); + const { name, icon, style, selected, ...props } = this.props; return ( -