From 403e5f24536808218c511ed0ee0438fd6e1b94c8 Mon Sep 17 00:00:00 2001 From: Simone Rubino Date: Fri, 16 Jun 2023 02:17:18 +0200 Subject: [PATCH] fix docs typos (#1061) --- docs/source/guides/adding-interactivity/index.rst | 4 ++-- .../adding-interactivity/responding-to-events/index.rst | 2 +- .../guides/creating-interfaces/rendering-data/index.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/guides/adding-interactivity/index.rst b/docs/source/guides/adding-interactivity/index.rst index b2beb3a81..af84fab88 100644 --- a/docs/source/guides/adding-interactivity/index.rst +++ b/docs/source/guides/adding-interactivity/index.rst @@ -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:: diff --git a/docs/source/guides/adding-interactivity/responding-to-events/index.rst b/docs/source/guides/adding-interactivity/responding-to-events/index.rst index 583a4a4b7..89f567ca0 100644 --- a/docs/source/guides/adding-interactivity/responding-to-events/index.rst +++ b/docs/source/guides/adding-interactivity/responding-to-events/index.rst @@ -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 diff --git a/docs/source/guides/creating-interfaces/rendering-data/index.rst b/docs/source/guides/creating-interfaces/rendering-data/index.rst index 8b11ac439..620426142 100644 --- a/docs/source/guides/creating-interfaces/rendering-data/index.rst +++ b/docs/source/guides/creating-interfaces/rendering-data/index.rst @@ -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 ` to find out why. .. reactpy:: _examples/sorted_and_filtered_todo_list