react-styled-flexboxgrid
react-styled-flexboxgrid copied to clipboard
suggestion for clear style
if dont support below responsively,
<Row start="xs" end="lg">
why don't make it defaults to "xs" and becomes
<Row start>
Above looks a lot clear, less boilerplate ! now, everytime i need to write
<Row start="xs">
Mmh... Yes maybe it could be useful.
We could consider each prop of this kind as xs
when strictly equal to true
. It will produce a media query with min-width: 0
, so the default.
All properties of this kind:
-
start
-
center
-
end
-
top
-
middle
-
bottom
-
around
-
between
-
first
-
last
I dont think that end === true
should be interpreted to lg
. It does not make sense.