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 fc7b02a commit a1b8d45Copy full SHA for a1b8d45
docs/rules/react-in-jsx-scope.md
@@ -22,6 +22,12 @@ var Hello = <div>Hello {this.props.name}</div>;
22
23
The following patterns are not considered warnings:
24
25
+```js
26
+import React from 'react';
27
+
28
+var Hello = <div>Hello {this.props.name}</div>;
29
+```
30
31
```js
32
var React = require('react');
33
0 commit comments