We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-group/index.js
Line 13 in b5e22ea
React has a built-in api to convert children to array even if it's a single element. It'll also do the falsy children filtering for you.
React.Children.toArray(props.children)
I've opened the PR
The text was updated successfully, but these errors were encountered:
React.Children.toArray
Fix: Use React.Children.toArray instead of manual conversion (#4)
f4198a8
Close #3
No branches or pull requests
react-group/index.js
Line 13 in b5e22ea
React has a built-in api to convert children to array even if it's a single element. It'll also do the falsy children filtering for you.
React.Children.toArray(props.children)
I've opened the PR
The text was updated successfully, but these errors were encountered: