Use colon

This commit is contained in:
Fatos Morina
2017-10-14 19:15:11 +02:00
parent ddd8cca1cb
commit d70e89e2fb

View File

@@ -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 {