Skip to content

Fix children definition in FlexItem#45

Open
pranas wants to merge 1 commit intoppiyush13:mainfrom
pranas:fix/flex-item-children
Open

Fix children definition in FlexItem#45
pranas wants to merge 1 commit intoppiyush13:mainfrom
pranas:fix/flex-item-children

Conversation

@pranas
Copy link

@pranas pranas commented Aug 10, 2021

The current FlexItem prop definition is broken: it does not allow it to have children because children is also defined in FlexBoxProps. This is a quick fix I made to solve the problem but you may have a better suggestion how to structure it in a nicer way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant