Skip to content

Commit 48a397e

Browse files
authored
Fix syntax error
1 parent 2cd9e5e commit 48a397e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/no-deprecated.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const propTypes = {
2323
foo: PropTypes.bar,
2424
};
2525

26-
import {React PropTypes} from 'react';
26+
import {React, PropTypes} from 'react';
2727
```
2828

2929
The following patterns are not considered warnings:
@@ -34,5 +34,5 @@ ReactDOM.render(<MyComponent />, root);
3434
// When [1, {"react": "0.13.0"}]
3535
ReactDOM.findDOMNode(this.refs.foo);
3636

37-
import PropTypes from 'prop-types';
37+
import { PropTypes } from 'prop-types';
3838
```

0 commit comments

Comments
 (0)