Skip to content

Commit

Permalink
[added] active prop on MenuItem (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
chilts authored and taion committed Sep 5, 2015
1 parent 293d2b9 commit b847dec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/MenuItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -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) {
Expand Down

0 comments on commit b847dec

Please sign in to comment.