Skip to content

Commit 0b8aa2d

Browse files
authored
Merge pull request #7 from sandrina-p/master
Replace react.proptypes by package prop-types
2 parents a10bc78 + a43f945 commit 0b8aa2d

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

lib/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
*/
44
'use strict';
55

6-
import React, { Component, PropTypes } from 'react';
6+
import React, { Component } from 'react';
7+
import PropTypes from 'prop-types';
8+
79
import {
810
View, Text, Image, TouchableHighlight
911
} from 'react-native';

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"version": "2.0.0",
44
"description": "",
55
"main": "lib/index.js",
6-
"scripts": {
7-
},
6+
"scripts": {},
87
"files": [
98
"lib"
109
],
@@ -24,5 +23,8 @@
2423
2524
"_shasum": "902d4878c1c66a2a8ef8075d674279ececd027a5",
2625
"_from": "git+https://github.com/beefe/react-native-keyboard.git",
27-
"_resolved": "git+https://github.com/beefe/react-native-keyboard.git#e79e1eace4d0dab225ea07e7c3d02a2b7fb80b07"
26+
"_resolved": "git+https://github.com/beefe/react-native-keyboard.git#e79e1eace4d0dab225ea07e7c3d02a2b7fb80b07",
27+
"peerDependencies": {
28+
"prop-types": "^15.6.1"
29+
}
2830
}

0 commit comments

Comments
 (0)