adbayb / react-native-android-kit

:package: Android Native Kit for React-Native
MIT License
110 stars 20 forks source link

Return children views instead of TabAndroid #10

Closed j-burgos closed 8 years ago

j-burgos commented 8 years ago

Currently, TabAndroid components are being returned instead of the children that should be used by ViewPagerAndroid

adbayb commented 8 years ago

TabAndroid is itself a View component: no need to map a View component since we check that children are only TabAndroid ones so we are sure to only have View children nested inside ViewPagerAndroid.

But, Do you have some unexpected behavior(s) with existing code to explain that pull request ?

j-burgos commented 8 years ago

Hi @ayoubdev ,

Nevermind about this pull request, this is related to #13 but I used this approach before digging more into the problem.