Q:

How to use navigationOptions without writing class?

I want to use static navigationOptions ={title='blabla'} without writing in class. For example like so 
const Screen = () =>{
  static navigationOptions = {title = 'blabla'};
}

How can I handle this?

A:

Below code should work : 
Screen.navigationOptions = { options }

Or second option
Screen.navigationOptions = ({navigation}) => ({options});

