Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Calyhre committed Apr 11, 2017
1 parent fa44bb2 commit 269bffd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/rules/no-deprecated.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ React.findDOMNode(this.refs.foo);
React.renderToString(<MyComponent />);

React.renderToStaticMarkup(<MyComponent />);

React.createClass({ /* Class object */ });

const propTypes = {
foo: React.PropTypes.bar,
};
```

The following patterns are not considered warnings:
Expand Down

0 comments on commit 269bffd

Please sign in to comment.