mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Material-UI example: Pass through unrelated props to wrapped component (#2664)
This commit is contained in:
parent
b27526b6ff
commit
4f0592a584
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue