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

Commit

Permalink
Merge pull request #33 from pdavid0/patch-1
Browse files Browse the repository at this point in the history
React.PropTypes has moved into a different package
  • Loading branch information
moaazsidat committed Sep 20, 2017
2 parents 043c78f + c892daa commit 9960f12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use strict';

import React, { Component, PropTypes } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';

import {
StyleSheet,
Dimensions,
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"bugs": {
"url": "https://github.com/moaazsidat/react-native-qrcode-scanner/issues"
},
"dependencies": {
"prop-types": "^15.5.10"
},
"peerDependencies": {
"react-native-camera": "^0.10.0"
},
Expand Down

0 comments on commit 9960f12

Please sign in to comment.