Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Slumber86 committed May 3, 2017
1 parent 2cd9e5e commit 48a397e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/no-deprecated.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const propTypes = {
foo: PropTypes.bar,
};

import {React PropTypes} from 'react';
import {React, PropTypes} from 'react';
```

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

import PropTypes from 'prop-types';
import { PropTypes } from 'prop-types';
```

0 comments on commit 48a397e

Please sign in to comment.