Skip to content

Commit

Permalink
[docs][material-ui] Fix getting started with CSS variables in theme e…
Browse files Browse the repository at this point in the history
…xample (#43658)

Signed-off-by: Carl Topham <[email protected]>
Co-authored-by: ZeeshanTamboli <[email protected]>
  • Loading branch information
Designer023 and ZeeshanTamboli authored Sep 9, 2024
1 parent 6abf2de commit ba40852
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { ThemeProvider, createTheme } from '@mui/material/styles';
const theme = createTheme({ cssVariables: true });

function App() {
return <ThemeProvider>{/* ...you app */}</ThemeProvider>;
return <ThemeProvider theme={theme}>{/* ...your app */}</ThemeProvider>;
}
```

Expand Down

0 comments on commit ba40852

Please sign in to comment.