Skip to content

Commit

Permalink
docs: Migrate Fixed container demo to emotion
Browse files Browse the repository at this point in the history
  • Loading branch information
vicasas committed Mar 6, 2021
1 parent 5ee35f5 commit e97d88d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
10 changes: 2 additions & 8 deletions docs/src/pages/components/container/FixedContainer.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
import * as React from 'react';
import CssBaseline from '@material-ui/core/CssBaseline';
import Typography from '@material-ui/core/Typography';
import Box from '@material-ui/core/Box';
import Container from '@material-ui/core/Container';

export default function FixedContainer() {
return (
<React.Fragment>
<CssBaseline />
<Container fixed>
<Typography
component="div"
style={{
backgroundColor: '#cfe8fc',
height: '100vh',
}}
/>
<Box sx={{ bgcolor: '#cfe8fc', height: '100vh' }} />
</Container>
</React.Fragment>
);
Expand Down
10 changes: 2 additions & 8 deletions docs/src/pages/components/container/FixedContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
import * as React from 'react';
import CssBaseline from '@material-ui/core/CssBaseline';
import Typography from '@material-ui/core/Typography';
import Box from '@material-ui/core/Box';
import Container from '@material-ui/core/Container';

export default function FixedContainer() {
return (
<React.Fragment>
<CssBaseline />
<Container fixed>
<Typography
component="div"
style={{
backgroundColor: '#cfe8fc',
height: '100vh',
}}
/>
<Box sx={{ bgcolor: '#cfe8fc', height: '100vh' }} />
</Container>
</React.Fragment>
);
Expand Down

0 comments on commit e97d88d

Please sign in to comment.