Commit 4f0592a5 authored by Claus Klingberg's avatar Claus Klingberg Committed by Tim Neutkens

Material-UI example: Pass through unrelated props to wrapped component (#2664)

parent b27526b6
......@@ -46,7 +46,7 @@ function withRoot (BaseComponent) {
<JssProvider registry={context.sheetsRegistry} jss={context.jss}>
<MuiThemeProvider theme={context.theme} sheetsManager={context.sheetsManager}>
<AppWrapper>
<BaseComponent />
<BaseComponent {...this.props} />
</AppWrapper>
</MuiThemeProvider>
</JssProvider>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment