File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
source/views/student-orgs Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,13 @@ const styles = StyleSheet.create({
5555} )
5656
5757export class StudentOrgsDetailView extends React . Component {
58+ static navigationOptions = ( { navigation} ) => {
59+ const { org} = navigation . state . params
60+ return {
61+ title : org . name ,
62+ }
63+ }
64+
5865 props : TopLevelViewPropsType & {
5966 navigation : { state : { params : { org : StudentOrgType } } } ,
6067 }
Original file line number Diff line number Diff line change @@ -48,6 +48,13 @@ const styles = StyleSheet.create({
4848} )
4949
5050export class StudentOrgsDetailView extends React . Component {
51+ static navigationOptions = ( { navigation} ) => {
52+ const { org} = navigation . state . params
53+ return {
54+ title : org . name ,
55+ }
56+ }
57+
5158 props : TopLevelViewPropsType & {
5259 navigation : { state : { params : { org : StudentOrgType } } } ,
5360 }
You can’t perform that action at this time.
0 commit comments