roylee0704 / react-flexbox-grid

A set of React components implementing flexboxgrid with the power of CSS Modules.
http://roylee0704.github.io/react-flexbox-grid/
2.93k stars 206 forks source link

Support for start='xs', end='xs' on Col (not just row) #142

Open iiAtlas opened 6 years ago

iiAtlas commented 6 years ago

New react-flexbox-grid user but really enjoying the lib so far!

Currently the below does not work:

<Col xs={3} start="xs">
    <span className="EventCard-price">$42</span>
</Col>

but manually adding the class achieves the desired result:

<Col xs={3} className="start-xs">
    <span className="EventCard-price">$42</span>
</Col>

The same is true for end-xs, is this by design?

sudogoku commented 6 years ago

I, too, would appreciate this feature. Love this library, thanks for the work!