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 2cd9e5e commit 48a397eCopy full SHA for 48a397e
docs/rules/no-deprecated.md
@@ -23,7 +23,7 @@ const propTypes = {
23
foo: PropTypes.bar,
24
};
25
26
-import {React PropTypes} from 'react';
+import {React, PropTypes} from 'react';
27
```
28
29
The following patterns are not considered warnings:
@@ -34,5 +34,5 @@ ReactDOM.render(<MyComponent />, root);
34
// When [1, {"react": "0.13.0"}]
35
ReactDOM.findDOMNode(this.refs.foo);
36
37
-import PropTypes from 'prop-types';
+import { PropTypes } from 'prop-types';
38
0 commit comments