Open hurano opened 6 years ago
From what I read at the homepage https://wix.github.io/react-templates/ ... this should work.
<rt-import name="MuiThemeProvider" from="material-ui/styles/MuiThemeProvider" />
<div>
<MuiThemeProvider muiTheme="{this.props.muiTheme}">
<h1>Hello World</h1>
</MuiThemeProvider>
</div>
Can we use this react-templates with material-ui?
How can we write the code in rt template in the following case?
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
`
Hello World