Created
March 30, 2019 17:09
-
-
Save johnnyBira/90f7d96aca878bc3444ed5580ae1d26b to your computer and use it in GitHub Desktop.
Medium #1 - Grid Example 4
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
// Notice how the prop names matches the names of the mixins/functions passed to Responsive Props | |
<Row> | |
<Column span={{ s: 6, l: 3, xl: 2 }} order={{ l: 2 }} /> | |
<Column span={{ s: 6, l: 3, xl: 2 }} order={{ l: 1 }} /> | |
<Column span={{ s: 6 }} hidden={{ l: true }} /> | |
<Column span={{ s: 6 }} hidden={{ l: true }} /> | |
</Row> | |
// ๐ Works just as well with single values ๐ | |
<Row> | |
<Column span={6} order={2} /> | |
<Column span={6} order={1} /> | |
</Row> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment