diff --git a/README.md b/README.md index fc58a9f453..455881b9b3 100644 --- a/README.md +++ b/README.md @@ -260,6 +260,7 @@ This mode also enforces you to set a handler for `onSelect`. `defaultIndex` does ```js class App extends Component { constructor() { + super(); this.state = { tabIndex: 0 }; } render() {