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.
2 parents 4d5faee + 79415f1 commit d97e5f0Copy full SHA for d97e5f0
docs/rules/no-deprecated.md
@@ -22,6 +22,8 @@ React.createClass({ /* Class object */ });
22
const propTypes = {
23
foo: PropTypes.bar,
24
};
25
+
26
+import React, { PropTypes } from 'react';
27
```
28
29
The following patterns are not considered warnings:
@@ -31,4 +33,6 @@ ReactDOM.render(<MyComponent />, root);
31
33
32
34
// When [1, {"react": "0.13.0"}]
35
ReactDOM.findDOMNode(this.refs.foo);
36
37
+import { PropTypes } from 'prop-types';
38
0 commit comments