Skip to content

Instantly share code, notes, and snippets.

# See this test gist and enjoy :)
import React from 'react'
class TestScreen extends React.Component {
static navigationOptions = ({ navigation }) => {
const title = navigation.getParam('title', 'Default Screen Title')
return {
title,
}
}