You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2020. It is now read-only.
We all know that TouchableNativeFeedback only support one single child. But, why don't handle it and wrap the children into a View?
render(){// changing some pieces of your render// notice the `toArray`children=React.Children.toArray(children);// notice the View wrapping the childrenreturn<TouchableComponent><View>{children}</View></TouchableComponent>}