Skip to content
This repository was archived by the owner on May 12, 2023. It is now read-only.

Commit 9960f12

Browse files
authored
Merge pull request #33 from pdavid0/patch-1
React.PropTypes has moved into a different package
2 parents 043c78f + c892daa commit 9960f12

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
'use strict';
22

3-
import React, { Component, PropTypes } from 'react';
3+
import React, { Component } from 'react';
4+
import PropTypes from 'prop-types';
5+
46
import {
57
StyleSheet,
68
Dimensions,

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
"bugs": {
2525
"url": "https://github.com/moaazsidat/react-native-qrcode-scanner/issues"
2626
},
27+
"dependencies": {
28+
"prop-types": "^15.5.10"
29+
},
2730
"peerDependencies": {
2831
"react-native-camera": "^0.10.0"
2932
},

0 commit comments

Comments
 (0)