Skip to content

Commit 7a52557

Browse files
committed
Update snapshots and readme
1 parent c339997 commit 7a52557

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Optional. A `string` or valid React component. Defaults to `div`.
121121

122122
Controls the width of the grid unit.
123123

124-
A `number` between `0` and `1` OR a `string` of `min` or `max` OR an `object` where the values are `number`s or `string`s for each desired breakpoint. Defaults to `1`.
124+
A `number` between `0` and `1` OR a `string` of `min` or `max` OR an `object` where the values are a `number` between `0` and `1` OR a `string` of `min` or `max` for each desired breakpoint.
125125

126126
#### visible
127127

src/components/__snapshots__/GridUnit.test.jsx.snap

+5-5
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,18 @@ exports[`GridUnit should render size at different breakpoints 1`] = `
8484
8585
@media (min-width:64.0625em) {
8686
.c0 {
87-
-webkit-flex-basis: 25%;
88-
-ms-flex-preferred-size: 25%;
89-
flex-basis: 25%;
90-
max-width: 25%;
87+
-webkit-flex-basis: 0%;
88+
-ms-flex-preferred-size: 0%;
89+
flex-basis: 0%;
90+
max-width: 0%;
9191
}
9292
}
9393
9494
<div
9595
className="c0"
9696
size={
9797
Object {
98-
"desktop": 0.25,
98+
"desktop": 0,
9999
"mobile": 1,
100100
"tablet": 0.5,
101101
}

0 commit comments

Comments
 (0)