[ts] JSX element class does not support attributes because it does not have a 'props' property. [2607]
[ts] Property 'theme' does not exist on type '{}'. [2339]
Also making the options optional on the withTheme would be great.
export default withTheme(injectSheet(styles)(App), {
forwardInnerRef: true // <--- this
});
Using the
ThemeProvider
like so:Gives the following compile error:
Also making the options optional on the
withTheme
would be great.Broke in the newest version 2.1.0.