Skip to content

Instantly share code, notes, and snippets.

@AllGistsEqual
Created February 17, 2020 12:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AllGistsEqual/611aed4ec3662111a3bc6ce11f3873b7 to your computer and use it in GitHub Desktop.
Save AllGistsEqual/611aed4ec3662111a3bc6ce11f3873b7 to your computer and use it in GitHub Desktop.
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