Ensure that <Tabs /> props.children is an array
Ensure that <Tabs /> props.children is an array

If only one child is given, this.props.children is not an array of objects, just a single object, breaking both .filter() in this file, and .map() in the ScrollableTabView component.

This checks if this.props.children is an array, and creates a single item array if it's not, thus allowing .filter() and .map() calls.
GeekyAnts/NativeBase,GeekyAnts/NativeBase,GeekyAnts/NativeBase,GeekyAnts/NativeBase,chaitanya0bhagvan/NativeBase,GeekyAnts/NativeBase,sampsasaarela/NativeBase