Skip to content

Commit b847dec

Browse files
chiltstaion
authored andcommitted
[added] active prop on MenuItem (again)
1 parent 293d2b9 commit b847dec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/MenuItem.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ export default class MenuItem extends React.Component {
3636
}
3737

3838
const classes = {
39-
disabled: this.props.disabled
39+
disabled: this.props.disabled,
40+
active: this.props.active
4041
};
4142

4243
return (
@@ -62,6 +63,7 @@ export default class MenuItem extends React.Component {
6263

6364
MenuItem.propTypes = {
6465
disabled: React.PropTypes.bool,
66+
active: React.PropTypes.bool,
6567
divider: CustomPropTypes.all([
6668
React.PropTypes.bool,
6769
function(props, propName, componentName) {

0 commit comments

Comments
 (0)