From 2bf3fd4786c0c2bf8624cd004ef884a1f95b764d Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 9 Feb 2018 11:30:37 -0500 Subject: [PATCH 1/3] Update TextField.js --- lib/TextField.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/TextField.js b/lib/TextField.js index d42523a..4cdca61 100644 --- a/lib/TextField.js +++ b/lib/TextField.js @@ -1,9 +1,10 @@ 'use strict'; -import React, {Component, PropTypes} from "react"; +import React, {Component} from "react"; import {View, TextInput, StyleSheet} from "react-native"; import Underline from './Underline'; import FloatingLabel from './FloatingLabel'; +import PropTypes from 'prop-types'; export default class TextField extends Component { constructor(props: Object, context: Object) { From 42e9e42a49c44085ea2bdb35a6ed1e34b01f461a Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 9 Feb 2018 11:31:19 -0500 Subject: [PATCH 2/3] Update Underline.js --- lib/Underline.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Underline.js b/lib/Underline.js index 4368733..c1f3b4b 100644 --- a/lib/Underline.js +++ b/lib/Underline.js @@ -1,6 +1,7 @@ 'use strict'; -import React, {Component, PropTypes} from "react"; +import React, {Component} from "react"; import {View, StyleSheet, Animated} from "react-native"; +import PropTypes from 'prop-types'; export default class Underline extends Component { constructor(props: Object) { From 221a26c42d57ec7ac00573f87b3431ff23c16c2d Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 9 Feb 2018 11:31:56 -0500 Subject: [PATCH 3/3] Update FloatingLabel.js --- lib/FloatingLabel.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/FloatingLabel.js b/lib/FloatingLabel.js index 5f96eab..0c7c921 100644 --- a/lib/FloatingLabel.js +++ b/lib/FloatingLabel.js @@ -1,6 +1,7 @@ 'use strict'; -import React, {Component, PropTypes} from "react"; +import React, {Component} from "react"; import {StyleSheet, Animated} from "react-native"; +import PropTypes from 'prop-types'; export default class FloatingLabel extends Component { constructor(props: Object) {