tabbed-application
This is part of the Facebook React Native Tel-Aviv Hackathon.
This is a tabbed application starter sample for React Native.
Quick Start
Make a new React Native application:
$ react-native init MyNewApp
$ cd MyNewApp
Install and run the template:
$ npm install -g rn-tabbed-template
$ rn-tabbed-template
copying template...
installing dependencies...
done!
Done!
Components
The structure is as simple as we could make it.
App
The App wraps a tabbed layout using vanilla react components
Tabs
Plain Vanilla TabBarIOS with base64 png icons
Github API Sample
Instead of the plain and empty FirstTab and SecondTab components, we added a github sample
component that is found in the github folder together with an api.
It fetches github issues from the react native repo by an issue status provided to it as a prop.
to test it out, uncomment its import and component use statements under the tabs.