/** Used as a placeholder with an empty title for the drawerNavigator reset action from the welcomScreen **/
import React, { Component } from 'react';
import { Text } from 'react-native';
import { strings } from '../locales/i18n';

class EmptyNavigator extends Component {
  static navigationOptions = {
      title: '',
  }

  /**
  * Render method
  **/
  render() {
    return (
      <Text>
        {strings('common.error.navigatedToEmpty')}
      </Text>
    );
  }
}

export default EmptyNavigator;
