Skip to content

Instantly share code, notes, and snippets.

@christopherdro
Last active October 2, 2015 20:56
Show Gist options
  • Save christopherdro/25d91c695cbb0a5577ef to your computer and use it in GitHub Desktop.
Save christopherdro/25d91c695cbb0a5577ef to your computer and use it in GitHub Desktop.
<Navigator
ref="navigator"
renderScene={::this._renderScene}
initialRoute={{
navigationBar: (
<NavigationBar
title="Test APP"
customPrev={<NavigationButtons.Settings/>}
customNext={<NavigationButtons.AddPatient NavigationEmitter={NavigationEmitter} />}
style={{flex: 1}}
/>
),
}}
configureScene={(route) => {
if (route.sceneConfig) {
return route.sceneConfig;
}
return _.omit(Navigator.SceneConfigs.FloatFromBottom, 'gestures');
}}
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment