We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ad6100 commit 9340827Copy full SHA for 9340827
package.json
@@ -28,13 +28,16 @@
28
"url": "https://github.com/rafrex/react-router-hash-link/issues"
29
},
30
"peerDependencies": {
31
- "react": "^15.0.0",
32
- "react-router-dom": "^4.0.0"
+ "react": "^15.5.0",
+ "react-router-dom": "^4.1.1"
33
34
"devDependencies": {
35
"babel-cli": "^6.24.0",
36
"babel-plugin-transform-object-rest-spread": "^6.23.0",
37
"babel-preset-latest": "^6.24.0",
38
"babel-preset-react": "^6.23.0"
39
+ },
40
+ "dependencies": {
41
+ "prop-types": "^15.5.8"
42
}
43
src/index.js
@@ -1,4 +1,5 @@
1
-import React, { PropTypes } from 'react';
+import React from 'react';
2
+import PropTypes from 'prop-types';
3
import { Link } from 'react-router-dom';
4
5
let hashFragment = '';
0 commit comments