From 94194cbdd68c64bab7b545461f30a5c05f57e5de Mon Sep 17 00:00:00 2001 From: Sergio Padrino Date: Fri, 5 Oct 2018 18:49:05 +0200 Subject: [PATCH] Fix import of PropTypes --- library/ViewPager.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/ViewPager.js b/library/ViewPager.js index 6257317..30f0735 100644 --- a/library/ViewPager.js +++ b/library/ViewPager.js @@ -1,9 +1,10 @@ -import React, { PropTypes, Component } from 'react'; +import React, { Component } from 'react'; import { View, ListView, Platform } from 'react-native'; +import PropTypes from 'prop-types'; import Scroller from 'react-native-scroller'; import {createResponder} from 'react-native-gesture-responder';