1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00
This commit is contained in:
Laurent Cozic 2017-05-10 19:05:04 +00:00
parent d238e1ab6c
commit 9529e401de

View File

@ -86,28 +86,9 @@ class NoteScreen extends React.Component {
}
}
class ProfileScreen extends React.Component {
static navigationOptions = {
title: 'Profile',
};
render() {
const { navigate } = this.props.navigation;
return (
<Button
title="Go to main"
onPress={() =>
navigate('Notes')
}
/>
);
}
}
const AppNavigator = StackNavigator({
Notes: {screen: NotesScreen},
Note: {screen: NoteScreen},
Profile: {screen: ProfileScreen},
});
class AppComponent extends React.Component {