chenglou / chenglou/react-motion
React.children only expected to receive a single React element child.
Open
- Dominant language
- JavaScript
- Stars
- 21.9k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
When used in conjunction with the material-ui library (http://www.material-ui.com/#/), the above error is generated in response to passing a single function as the `children` for any of the `Motion` components. If instead an array containing a single function is passed, then the following error is generated:
```
Failed prop type: Invalid prop `children` of type `array` supplied to `Motion`, expected `function
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.