Skip to content

Commit 9340827

Browse files
committed
Use separate prop-types package
1 parent 1ad6100 commit 9340827

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,16 @@
2828
"url": "https://github.com/rafrex/react-router-hash-link/issues"
2929
},
3030
"peerDependencies": {
31-
"react": "^15.0.0",
32-
"react-router-dom": "^4.0.0"
31+
"react": "^15.5.0",
32+
"react-router-dom": "^4.1.1"
3333
},
3434
"devDependencies": {
3535
"babel-cli": "^6.24.0",
3636
"babel-plugin-transform-object-rest-spread": "^6.23.0",
3737
"babel-preset-latest": "^6.24.0",
3838
"babel-preset-react": "^6.23.0"
39+
},
40+
"dependencies": {
41+
"prop-types": "^15.5.8"
3942
}
4043
}

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes } from 'react';
1+
import React from 'react';
2+
import PropTypes from 'prop-types';
23
import { Link } from 'react-router-dom';
34

45
let hashFragment = '';

0 commit comments

Comments
 (0)