Revize 8754af5c
Přidáno uživatelem Václav Honzík před asi 2 roky(ů)
frontend/src/features/Catalog/Catalog.tsx | ||
---|---|---|
1 |
import { |
|
2 |
Container, |
|
3 |
Paper, |
|
4 |
Typography, |
|
5 |
} from '@mui/material' |
|
1 |
import { Container, Paper, Typography } from '@mui/material' |
|
6 | 2 |
import CatalogTable from './CatalogTable' |
7 | 3 |
import { Fragment } from 'react' |
8 | 4 |
import CatalogFilter from './CatalogFilter' |
9 | 5 |
|
10 |
const Catalog = () => { |
|
11 |
|
|
12 |
|
|
13 |
return ( |
|
14 |
<Fragment> |
|
15 |
<Paper |
|
16 |
sx={{ py: 2, mt: 2 }} |
|
17 |
variant="outlined" |
|
18 |
style={{ minHeight: '50vh' }} |
|
19 |
> |
|
20 |
<Container sx={{ mt: 4 }}> |
|
21 |
<Typography variant="h3" sx={{mb: 2}} fontWeight="bold" >Catalog</Typography> |
|
22 |
<CatalogFilter /> |
|
23 |
<CatalogTable /> |
|
24 |
</Container> |
|
25 |
</Paper> |
|
26 |
</Fragment> |
|
27 |
) |
|
28 |
} |
|
6 |
// Catalog page |
|
7 |
const Catalog = () => ( |
|
8 |
<Fragment> |
|
9 |
<Typography variant="h3" sx={{ mb: 2 }} fontWeight="bold"> |
|
10 |
Catalog |
|
11 |
</Typography> |
|
12 |
<Paper |
|
13 |
sx={{ py: 2, mt: 2 }} |
|
14 |
variant="outlined" |
|
15 |
style={{ minHeight: '50vh' }} |
|
16 |
> |
|
17 |
<Container sx={{ mt: 4 }}> |
|
18 |
<CatalogFilter /> |
|
19 |
<CatalogTable /> |
|
20 |
</Container> |
|
21 |
</Paper> |
|
22 |
</Fragment> |
|
23 |
) |
|
29 | 24 |
|
30 | 25 |
export default Catalog |
Také k dispozici: Unified diff
Table scrolling
re #9534