Skip to content

Commit 39c5188

Browse files
authored
Merge pull request #159 from LovebugLLC/master
Use deprecated-react-native-prop-types
2 parents e68faeb + 0b4d345 commit 39c5188

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"author": "Jack Hsu",
2929
"license": "ISC",
3030
"dependencies": {
31+
"deprecated-react-native-prop-types": "^2.3.0",
3132
"prop-types": "^15.6.0"
3233
}
3334
}

Diff for: src/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React, { Component } from 'react'
2-
import { Animated, Dimensions, View, ViewPropTypes } from 'react-native'
2+
import { Animated, Dimensions, View } from 'react-native'
3+
import { ViewPropTypes } from 'deprecated-react-native-prop-types'
34

45
const styles = require('./styles')
56

0 commit comments

Comments
 (0)