Single child doesn't work
If you run this code it will throw this error "TypeError: this.props.children.filter is not a function"
<Tabs> <Text name="test">Test</Text> </Tabs>
I have been trying to understand where the problem is but hard to find. Most probably it comes from JSX or react. Open this ticket in case anyone is more involved and understand this issue.
One can add a "null as child" to avoid this issue.
My use case is that I build the tab dynamically corresponding user's permissions. It could be zero or more. I guess that you could solve it other way but I think this is nice. I fixed for case zero, one or many children. If you guys think this is useful I can create a PR for further review.
Thanks VN