-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(flex-grid): Document the props. Refactor the gutterless prop to …
…be in the positive. Switching to gutter instead of gutterless is cognitively easier to reason about as it is written in the positive tense.
- Loading branch information
1 parent
35e4fb0
commit 937682c
Showing
5 changed files
with
86 additions
and
72 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
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
19 changes: 14 additions & 5 deletions
19
src/components/FlexGrid/__tests__/__snapshots__/FlexGrid.spec.jsx.snap
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 |
---|---|---|
@@ -1,13 +1,22 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`FlexGrid renders 1`] = ` | ||
<Grid | ||
fluid={true} | ||
<div | ||
class="container-fluid" | ||
> | ||
<div | ||
className="container-fluid" | ||
class="row" | ||
> | ||
Some grid stuff | ||
<div | ||
class="col-xs col-xs-offset" | ||
> | ||
1st column content | ||
</div> | ||
<div | ||
class="col-xs col-xs-offset" | ||
> | ||
2nd column content | ||
</div> | ||
</div> | ||
</Grid> | ||
</div> | ||
`; |