Fixed the name of the component

This commit is contained in:
Arjun Mahishi
2018-12-28 11:08:09 +05:30
parent 49285ae1b8
commit 95d01fee15

View File

@ -9,7 +9,7 @@ Renders a timer component.
- `time` and `interval` are the required props - `time` and `interval` are the required props
```jsx ```jsx
class App extends Component { class Timer extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = {timer: 0} this.state = {timer: 0}