Skip to content

Commit c209465

Browse files
authored
Change text "Click me" to somthing else (#4697)
The Text "Click me" in the button confuses first-time users because it forces them to actually click on the button in the live demo but it does nothing. By changing the text, we can control the user behavior as they don't expect anything on that click.
1 parent e6dfdd3 commit c209465

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

beta/src/pages/learn/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ React components are JavaScript functions that return markup:
2828
```js
2929
function MyButton() {
3030
return (
31-
<button>Click me</button>
31+
<button>I'm a button</button>
3232
);
3333
}
3434
```
@@ -56,7 +56,7 @@ Have a look at the result:
5656
function MyButton() {
5757
return (
5858
<button>
59-
Click me
59+
I'm a button
6060
</button>
6161
);
6262
}

0 commit comments

Comments
 (0)