Browse Source

Rename App class component to Counter (#1739)

main
Mark Murray 6 years ago
committed by Nat Alison
parent
commit
d6d30b6c35
  1. 2
      content/docs/addons-test-utils.md

2
content/docs/addons-test-utils.md

@ -53,7 +53,7 @@ To prepare a component for assertions, wrap the code rendering it and performing
For example, let's say we have this `Counter` component:
```js
class App extends React.Component {
class Counter extends React.Component {
constructor(props) {
super(props);
this.state = {count: 0};

Loading…
Cancel
Save