Fix linting and typo

This commit is contained in:
Brent Vatne
2018-10-31 19:23:44 -07:00
parent bb25e7ee79
commit ab20beddea
5 changed files with 12 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
import React, { Component } from 'react';
import React } from 'react';
import { StyleSheet, View, Text } from 'react-native';
import { createStackNavigator } from 'react-navigation-stack';
@@ -71,7 +71,7 @@ function createHeaderBackgroundExample(options = {}) {
},
},
News: {
screen: ({ navigation }) => (
screen: () => (
<View style={styles.container}>
<Text style={styles.tips} onPress={() => {}}>
News Screen