mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Importing React for the first example. (#14346)
This commit is contained in:
committed by
Sunil Pai
parent
ecd919a2f9
commit
3f0bcaf0db
@@ -17,6 +17,7 @@ npm install react-is
|
||||
### Determining if a Component is Valid
|
||||
|
||||
```js
|
||||
import React from "react";
|
||||
import * as ReactIs from "react-is";
|
||||
|
||||
class ClassComponent extends React.Component {
|
||||
|
||||
Reference in New Issue
Block a user