fix docs typos (#1061)

This commit is contained in:
Simone Rubino 2023-06-16 02:17:18 +02:00 committed by GitHub
parent bd60e6e7e1
commit 403e5f2453
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -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::

View file

@ -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

View file

@ -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