forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathApp.tsx
41 lines (39 loc) · 1.12 KB
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import * as React from 'react';
import Container from '@mui/material/Container';
import Typography from '@mui/material/Typography';
import Link from '@mui/material/Link';
import Slider from '@mui/material/Slider';
import PopoverMenu from './PopoverMenu';
import ProTip from './ProTip';
function Copyright() {
return (
<Typography variant="body2" color="text.secondary" align="center">
{'Copyright © '}
<Link color="inherit" href="https://mui.com/">
Your Website
</Link>{' '}
{new Date().getFullYear()}
{'.'}
</Typography>
);
}
export default function App() {
return (
<Container maxWidth="sm">
<div className="my-4">
<Typography variant="h4" component="h1" sx={{ mb: 2 }}>
Material UI Create React App example with Tailwind CSS in TypeScript
</Typography>
<Slider
className="my-4"
defaultValue={30}
classes={{ active: 'shadow-none' }}
slotProps={{ thumb: { className: 'hover:shadow-none' } }}
/>
<PopoverMenu />
<ProTip />
<Copyright />
</div>
</Container>
);
}