Last active
December 6, 2018 11:37
-
-
Save Sergioamjr/1f90069fde1d66aed8523880452d897a to your computer and use it in GitHub Desktop.
Utilizando sistema de Grid com Styled Component no React
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Container, Grid, Column } from './PATH/styled-component-grid.jsx' | |
class App extends Component { | |
render() { | |
return( | |
<Container> | |
<Grid> | |
<Column xs={4} md={6} lg={3}> | |
<Box /> | |
</Column> | |
<Column xs={4} md={12} lg={6}> | |
<Box /> | |
</Column> | |
<Column xs={4} md={6} lg={3}> | |
<Box /> | |
</Column> | |
</Grid> | |
<Grid> | |
<Column xs={4} md={6} lg={3}> | |
<Box /> | |
</Column> | |
<Column xs={4} md={12} lg={6}> | |
<Grid> | |
<Column xs={4} md={6} lg={3}> | |
<Box /> | |
</Column> | |
<Column xs={4} md={12} lg={6}> | |
<Box /> | |
</Column> | |
<Column xs={4} md={6} lg={3}> | |
<Box /> | |
</Column> | |
</Grid> | |
</Column> | |
<Column xs={4} md={6} lg={3}> | |
<Box /> | |
</Column> | |
</Grid> | |
</Container> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment