-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
/
JustifyContent.js
44 lines (42 loc) · 1.14 KB
/
JustifyContent.js
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
42
43
44
import React from 'react';
import { unstable_Box as Box } from '@material-ui/core/Box';
function JustifyContent() {
return (
<div style={{ width: '100%' }}>
<Box display="flex" justifyContent="flex-start" m={1} p={1} bgcolor="background.paper">
<Box p={1} bgcolor="grey.300">
Item 1
</Box>
<Box p={1} bgcolor="grey.300">
Item 1
</Box>
<Box p={1} bgcolor="grey.300">
Item 1
</Box>
</Box>
<Box display="flex" justifyContent="flex-end" m={1} p={1} bgcolor="background.paper">
<Box p={1} bgcolor="grey.300">
Item 1
</Box>
<Box p={1} bgcolor="grey.300">
Item 1
</Box>
<Box p={1} bgcolor="grey.300">
Item 1
</Box>
</Box>
<Box display="flex" justifyContent="center" m={1} p={1} bgcolor="background.paper">
<Box p={1} bgcolor="grey.300">
Item 1
</Box>
<Box p={1} bgcolor="grey.300">
Item 1
</Box>
<Box p={1} bgcolor="grey.300">
Item 1
</Box>
</Box>
</div>
);
}
export default JustifyContent;