From f50cda0bd66304bdc23b98d6d70b31071150830b Mon Sep 17 00:00:00 2001 From: Vlad Vityaz Date: Fri, 31 Aug 2018 17:16:17 +0300 Subject: [PATCH] PropTypes fixed to package 'prop-types' Compatible with React 15.3+ and RN 0.49+ --- src/Prompt.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Prompt.js b/src/Prompt.js index d778d0a..180a59b 100644 --- a/src/Prompt.js +++ b/src/Prompt.js @@ -1,4 +1,4 @@ -import React, { Component, PropTypes } from 'react'; +import React, { Component } from 'react'; import { Modal, Platform, @@ -7,6 +7,7 @@ import { TouchableWithoutFeedback, View } from 'react-native'; +import PropTypes from 'prop-types'; import styles from './styles'; export default class Prompt extends Component {