up to step 4

This commit is contained in:
Micah Godbolt
2019-02-22 17:09:30 -08:00
parent 4f7b9e4747
commit 2ced997529
13 changed files with 217 additions and 84 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react';
import { Button } from './Button';
export class Counter extends React.Component<{ text: string }, { counter: number }> {
export class Counter extends React.Component<any, any> {
constructor(props) {
super(props);
this.state = {