From b847dec9f075d70be859b91f285d2fc491dea5d3 Mon Sep 17 00:00:00 2001 From: Andrew Chilton Date: Tue, 1 Sep 2015 16:43:33 +1200 Subject: [PATCH] [added] active prop on MenuItem (again) --- src/MenuItem.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MenuItem.js b/src/MenuItem.js index 5d7fd63218..3997443106 100644 --- a/src/MenuItem.js +++ b/src/MenuItem.js @@ -36,7 +36,8 @@ export default class MenuItem extends React.Component { } const classes = { - disabled: this.props.disabled + disabled: this.props.disabled, + active: this.props.active }; return ( @@ -62,6 +63,7 @@ export default class MenuItem extends React.Component { MenuItem.propTypes = { disabled: React.PropTypes.bool, + active: React.PropTypes.bool, divider: CustomPropTypes.all([ React.PropTypes.bool, function(props, propName, componentName) {