Skip to content

CardsGrid and Grid/Col #98

Answered by rtivital
cstrat asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm, I think that adding component prop to Col is not a good idea as this component will have to support style and className props and this will resolve in inconsistent behavior with custom components. I think style={{ height: '100%' }} is the best possible solution which is easy to understand and implement as in your case columns almost always will be used in a loop and you'll have to set it only once.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cstrat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants