From 10cc755aa6a752da683a7decdfd984aa4764313f Mon Sep 17 00:00:00 2001 From: behzad abbasi Date: Sun, 24 Sep 2017 18:17:34 +0330 Subject: [PATCH] fix deprecated types --- library/Gallery.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/Gallery.js b/library/Gallery.js index 3fd01ed..20372ca 100644 --- a/library/Gallery.js +++ b/library/Gallery.js @@ -1,4 +1,5 @@ -import React, { Component, PropTypes } from 'react'; +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; import { View } from 'react-native';