Skip to content

Commit

Permalink
fix docs typos (#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daemo00 authored Jun 16, 2023
1 parent bd60e6e commit 403e5f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/source/guides/adding-interactivity/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 403e5f2

Please sign in to comment.