Skip to content

Commit ef7ac30

Browse files
committed
Restore JSS.tsx demo
1 parent 2472823 commit ef7ac30

File tree

1 file changed

+20
-0
lines changed
  • docs/src/pages/system/basics

1 file changed

+20
-0
lines changed

docs/src/pages/system/basics/JSS.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import React from 'react';
2+
import { styled } from '@material-ui/styles';
3+
import { compose, spacing, palette } from '@material-ui/system';
4+
5+
const Box = styled('div')(
6+
compose(
7+
spacing,
8+
palette,
9+
),
10+
);
11+
12+
function JSS() {
13+
return (
14+
<Box color="white" bgcolor="palevioletred" p={1}>
15+
JSS
16+
</Box>
17+
);
18+
}
19+
20+
export default JSS;

0 commit comments

Comments
 (0)