-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Grid): Add grid support for multiple device visibility breakpoin…
…ts (#1347) * feat(Grid): Add grid support for multiple device visibility breakpoints * style(tests): fix description [ci skip] * feat(Grid): Add grid support for multiple device visibility breakpoints * feat(Grid): Add grid support for multiple device visibility breakpoints * breaking(Grid): Add grid support for multiple device visibility breakpoints * breaking(Grid): Add grid support for multiple device visibility breakpoints * feat(Grid): Add grid support for multiple device visibility breakpoints
- Loading branch information
1 parent
6cc4884
commit 4ca4d03
Showing
13 changed files
with
165 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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
35 changes: 35 additions & 0 deletions
35
docs/app/Examples/collections/Grid/ResponsiveVariations/GridExampleOnlyMultiple.js
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import React from 'react' | ||
import { Grid, Segment } from 'semantic-ui-react' | ||
|
||
const GridExampleOnlyMultiple = () => ( | ||
<Grid> | ||
<Grid.Row columns={2} only='mobile tablet'> | ||
<Grid.Column> | ||
<Segment>Mobile</Segment> | ||
</Grid.Column> | ||
<Grid.Column> | ||
<Segment>Tablet</Segment> | ||
</Grid.Column> | ||
</Grid.Row> | ||
|
||
<Grid.Row columns={2} only='tablet computer'> | ||
<Grid.Column> | ||
<Segment>Tablet</Segment> | ||
</Grid.Column> | ||
<Grid.Column> | ||
<Segment>Computer</Segment> | ||
</Grid.Column> | ||
</Grid.Row> | ||
|
||
<Grid.Row columns={2} only='large screen widescreen'> | ||
<Grid.Column> | ||
<Segment>Large Screen</Segment> | ||
</Grid.Column> | ||
<Grid.Column> | ||
<Segment>Widescreen</Segment> | ||
</Grid.Column> | ||
</Grid.Row> | ||
</Grid> | ||
) | ||
|
||
export default GridExampleOnlyMultiple |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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