rescript-react-native / rescript-react-navigation

ReScript bindings for React Navigation
MIT License
74 stars 28 forks source link

update tabBarComponent to tabBar #33

Closed Freddy03h closed 4 years ago

Freddy03h commented 4 years ago

tabBarComponent doesn't exist in the react-navigation props, it's tabBar only.

For now, it compile to this and it doesn't work:

return React.createElement($$Navigator.make, {
              children: children,
              tabBarComponent: CustomTopTabBar$TopTabBar,
              tabBarOptions: tabBarOptions
            });
Freddy03h commented 4 years ago

Thank you!

MoOx commented 4 years ago

No, thank YOU!