Skip to content

Commit

Permalink
Merge pull request mui#1841 from shaurya947/theme-decorator-props-fix
Browse files Browse the repository at this point in the history
ThemeDecorator now supports props
  • Loading branch information
shaurya947 committed Oct 8, 2015
2 parents 06aca10 + 3a11ae8 commit 2b6c3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles/theme-decorator.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = (customTheme) => {
},

render() {
return React.createElement(Component, null);
return React.createElement(Component, this.props);
},
});

Expand Down

0 comments on commit 2b6c3f7

Please sign in to comment.