Skip to content

Instantly share code, notes, and snippets.

@amandeepmittal
Created November 19, 2019 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amandeepmittal/589862fd483f33141b7ac709fc050cc4 to your computer and use it in GitHub Desktop.
Save amandeepmittal/589862fd483f33141b7ac709fc050cc4 to your computer and use it in GitHub Desktop.
import {
StyleSheet,
Text,
View,
ActivityIndicator,
FlatList
} from 'react-native'
// inside the App component
state = {
loading: true,
// add this
articles: []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment