Drag the edges to resize the window.

Code Editor
Learn
this.props

Pass an Event Handler as a prop

Good! You've defined a new method on the Talker component class. Now you're ready to pass that function to another component.

You can pass a method in the exact same way that you pass any other information. Behold, the mighty JavaScript.

Report a Bug
If you see a bug or any other issue with this page, please report it here.