0fa644dbc003202af115fe6bf6a5e89816dd9dd8
- Locked page scroll via body overflow hidden to prevent outer page scrolling. - Moved game content into scrollable middle pane. - Removed global top padding from styles.css to match new fixed-header layout. - Simplified layout structure and removed unused commented code.
Material UI - React Router example in TypeScript
How to use
Download the example or clone the repo:
curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-react-router-ts
cd material-ui-react-router-ts
Install it and run:
npm install
npm run dev
or:
The idea behind the example
This example demonstrates how you can use Material UI with React Router in TypeScript.
It includes @mui/material and its peer dependencies, including Emotion, the default style engine in Material UI.
What's next?
You now have a working example project. You can head back to the documentation and continue by browsing the templates section.
Description
Languages
TypeScript
89.5%
CSS
5.6%
Dockerfile
1.9%
HTML
1.5%
JavaScript
1.5%