You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/tutorial/07-HandlingEvents.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Ex:
31
31
When React invokes the event-handler, it provides a [SyntheticEvent](https://reactjs.org/docs/events.html) as an argument. Not to worry about any of the details, it's a wrapper around browser's native event and it has the same interface as the native event.
32
32
33
33
```jsx
34
-
functionClickableButton(props){
34
+
functionInputComponent(props){
35
35
//callback function that's called when input changes
36
36
//It gets synthetic event as an argument
37
37
//SyntheticEvent has interface just like the native browser event
0 commit comments