From cee3c9b12e868513d6f839a8b2d2b1a1358ad590 Mon Sep 17 00:00:00 2001 From: luciansabo Date: Mon, 3 Jun 2019 18:22:58 +0300 Subject: [PATCH 1/2] fix error with ActivityIndicator.propTypes.style --- index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 496c9a9..d2a9782 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React, { Component} from 'react'; import PropTypes from 'prop-types'; // 15.6.0 import { TextInput, @@ -6,6 +6,7 @@ import { ActivityIndicator, TouchableOpacity, StyleSheet, + ViewPropTypes } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; // 6.2.2 @@ -19,7 +20,7 @@ class ProgressiveInput extends Component { clearButtonColor: PropTypes.string, clearButtonSize: PropTypes.number, clearButtonStyle: PropTypes.object, - activityIndicatorStyle: ActivityIndicator.propTypes.style, + activityIndicatorStyle: ViewPropTypes.style, onBlur: PropTypes.func, onChangeText: PropTypes.func, onFocus: PropTypes.func, From 4b5243701ec31ab9f4d56e92accd063dad9fbbf4 Mon Sep 17 00:00:00 2001 From: luciansabo Date: Mon, 24 Jun 2019 10:51:29 +0100 Subject: [PATCH 2/2] Fixed space --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d2a9782..bbfb1d5 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -import React, { Component} from 'react'; +import React, { Component } from 'react'; import PropTypes from 'prop-types'; // 15.6.0 import { TextInput,