fix docs typos (#1061)
This commit is contained in:
parent
bd60e6e7e1
commit
403e5f2453
3 changed files with 4 additions and 4 deletions
|
@ -58,13 +58,13 @@ Section 1: Responding to Events
|
|||
|
||||
ReactPy lets you add event handlers to your parts of the interface. This means that you can
|
||||
define synchronous or asynchronous functions that are triggered when a particular user
|
||||
interaction occurs like clicking, hovering, of focusing on form inputs, and more.
|
||||
interaction occurs like clicking, hovering, focusing on form inputs, and more.
|
||||
|
||||
.. reactpy:: responding-to-events/_examples/button_prints_message
|
||||
|
||||
It may feel weird to define a function within a function like this, but doing so allows
|
||||
the ``handle_event`` function to access information from within the scope of the
|
||||
component. That's important if you want to use any arguments that may have beend passed
|
||||
component. That's important if you want to use any arguments that may have been passed
|
||||
your component in the handler.
|
||||
|
||||
.. card::
|
||||
|
|
|
@ -29,7 +29,7 @@ To add an event handler to this button we'll do three things:
|
|||
|
||||
It may feel weird to define a function within a function like this, but doing so allows
|
||||
the ``handle_event`` function to access information from within the scope of the
|
||||
component. That's important if you want to use any arguments that may have beend passed
|
||||
component. That's important if you want to use any arguments that may have been passed
|
||||
your component in the handler:
|
||||
|
||||
.. reactpy:: _examples/button_prints_message
|
||||
|
|
|
@ -103,7 +103,7 @@ We could then add this code to our ``DataList`` component:
|
|||
|
||||
.. warning::
|
||||
|
||||
The code below produces a bunch of warnings! Be sure to tead the
|
||||
The code below produces a bunch of warnings! Be sure to read the
|
||||
:ref:`next section <Organizing Items With Keys>` to find out why.
|
||||
|
||||
.. reactpy:: _examples/sorted_and_filtered_todo_list
|
||||
|
|
Loading…
Reference in a new issue