Created
February 17, 2020 12:12
-
-
Save AllGistsEqual/611aed4ec3662111a3bc6ce11f3873b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { Button, Text } from 'react-native' | |
import PropTypes from 'prop-types' | |
import DefaultPage from '../../components/DefaultPage' | |
const SceneSettings = ({ navigation }) => ( | |
<DefaultPage> | |
<Text> | |
Settings | |
</Text> | |
<Button title="Back" onPress={() => navigation.goBack()} /> | |
</DefaultPage> | |
) | |
SceneSettings.propTypes = { | |
navigation: PropTypes.object.isRequired, | |
} | |
export default SceneSettings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment