We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dc568e commit c1706fdCopy full SHA for c1706fd
examples/basic/src/components/Button/Readme.md
@@ -55,5 +55,5 @@ You can change the default state:
55
56
```jsx
57
initialState = {count: 42};
58
-<Button onClick={() => setState({count: state.count+1})}>{state.count}</Button>
+<Button onClick={() => setState({count: state.count+1})}>{state.count.toString()}</Button>
59
```
0 commit comments