Created
May 13, 2018 03:35
-
-
Save radiegtya/a15fa34d73a95a0465c31fc7a3564f7e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import { | |
// ... THE REST NATIVEBASE IMPORT COMPONENT | |
Thumbnail, Spinner // #1. Add Spinner component to show loading on screen later | |
} from 'native-base' | |
import { View, StyleSheet, Image, Dimensions } from 'react-native' | |
// import axios from 'axios' // #2. Remove axios from here, because we already have axios in our actions | |
import { connect } from 'react-redux' //#3. Import connect from react-redux to connecting our component with redux | |
import { getProfile } from '../actions' //#4. Import actions that we made earlier |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment