Skip to content

Commit

Permalink
Merge pull request #2 from matheusrezende/master
Browse files Browse the repository at this point in the history
changed the import from React.PropTypes to 'prop-types' package
  • Loading branch information
itinance authored Oct 31, 2017
2 parents 5b728cf + 79ef37d commit eceb367
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

import React, { Component, PropTypes } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Image, Platform, Dimensions, StyleSheet, TouchableOpacity } from 'react-native';

const IMG_CENTER_MODE = Platform.OS === 'ios' ? 'center' : 'contain';
Expand Down

0 comments on commit eceb367

Please sign in to comment.