From 0b4d345b86186bf2f40d77945ef09c5d97b40143 Mon Sep 17 00:00:00 2001 From: AP Fritts <2000021+apfritts@users.noreply.github.com> Date: Fri, 8 Apr 2022 11:38:39 -0700 Subject: [PATCH] Add deprecated-react-native-prop-types --- package.json | 1 + src/index.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8415801..a34729c 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "author": "Jack Hsu", "license": "ISC", "dependencies": { + "deprecated-react-native-prop-types": "^2.3.0", "prop-types": "^15.6.0" } } diff --git a/src/index.js b/src/index.js index 8787b6f..0211c7d 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,6 @@ import React, { Component } from 'react' -import { Animated, Dimensions, View, ViewPropTypes } from 'react-native' +import { Animated, Dimensions, View } from 'react-native' +import { ViewPropTypes } from 'deprecated-react-native-prop-types' const styles = require('./styles')