mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Use colon
This commit is contained in:
@@ -50,7 +50,7 @@ See [Using React without JSX](/docs/react-without-jsx.html) for more information
|
||||
|
||||
### `React.Component`
|
||||
|
||||
`React.Component` is the base class for React components when they are defined using [ES6 classes](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Classes).
|
||||
`React.Component` is the base class for React components when they are defined using [ES6 classes](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Classes):
|
||||
|
||||
```javascript
|
||||
class Greeting extends React.Component {
|
||||
|
||||
Reference in New Issue
Block a user