Fixed the name of the component
This commit is contained in:
@ -9,7 +9,7 @@ Renders a timer component.
|
||||
- `time` and `interval` are the required props
|
||||
|
||||
```jsx
|
||||
class App extends Component {
|
||||
class Timer extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {timer: 0}
|
||||
|
||||
Reference in New Issue
Block a user