sapegin/stack-styled

Add columns prop

Open

#9 opened on Nov 8, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (2 forks)github user discovery
help wanted

Repository metrics

Stars
 (138 stars)
PR merge metrics
 (PR metrics pending)

Description

To easily define number of columns in a responsive way, similar to Theme UI Grid component.

Note: columns may not be the best name, as it conflicts with the columns CSS property, and this is something I'd like to avoid in stack-styled.

Note 2: either columns or minColumnWidth can be used, but not both at the same time, so it would be great to show a warning when the user tries to use both props.

Contributor guide