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
|
- `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}
|
||||||
|
|||||||
Reference in New Issue
Block a user