From 4112296db6ebc4182be027e8119726e9a1904c0b Mon Sep 17 00:00:00 2001 From: Dominic Rico-Gomez Date: Wed, 14 Mar 2018 12:39:39 +0100 Subject: [PATCH] Update ButtonView.js make use of the prop-types module to make it work with newer versions of react --- src/ButtonView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ButtonView.js b/src/ButtonView.js index e184c02..c72b45f 100644 --- a/src/ButtonView.js +++ b/src/ButtonView.js @@ -1,4 +1,5 @@ -import React, { PropTypes } from 'react'; +import React from 'react'; +import PropTypes from 'prop-types'; import { ActivityIndicator, Animated, View, StyleSheet, Text, TouchableOpacity } from 'react-native';