import React from 'react-native'; // eslint-disable-line no-unused-vars
import NavigationTitle from './Title';
import NavigationBackButton from './BackButton';
import NavigationInfoButton from './InfoButton';
import { View } from 'react-native';
export default {
LeftButton(route, nav, index, navState) {
return (
<NavigationBackButton nav={nav} />
);
},
RightButton(route, nav, index, navState) {
if (route.id === 'login'&& route.id !== 'info') {
return <NavigationInfoButton nav={nav} />;
}
<View />
Title(route, nav, index, navState) {
<NavigationTitle route={route} />
};