Skip to content

Commit 5f8e97c

Browse files
address confusion raised in GH-36
1 parent 5c60d9d commit 5f8e97c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tutorial/07-HandlingEvents.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Ex:
3131
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.
3232

3333
```jsx
34-
function ClickableButton(props){
34+
function InputComponent(props){
3535
//callback function that's called when input changes
3636
//It gets synthetic event as an argument
3737
//SyntheticEvent has interface just like the native browser event

0 commit comments

Comments
 (0)