当我使用从左到右功能时,我遇到了问题。
import {ThemeProvider, StylesProvider,jssPreset} from '@material-ui/styles';
import {create} from 'jss';
import rtl from 'jss-rtl';
const jss = create({plugins: [...jssPreset().plugins, rtl()]});
<StylesProvider jss={jss}>
<ThemeProvider theme={theme}>
<Router>
<Route exact path="/" component={Home}/>
</Router>
</ThemeProvider>
</StylesProvider>
并返回错误