Skip to content

Commit da112a4

Browse files
DominikHeroldtyroprogrammer
authored andcommitted
fix typos
1 parent 0fce207 commit da112a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tutorial/03-PowerOfJSX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ return (
6969
)
7070

7171
// ✅ If you don't want to wrap your component with some enclosing tag like `div`
72-
// you can wrap everything with `React.Fragment` which is a empty tag provided by React
72+
// you can wrap everything with `React.Fragment` which is an empty tag provided by React
7373
return (
7474
<React.Fragment>
7575
<div></div>

src/tutorial/07-HandlingEvents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Handling events in JSX is pretty similar to handling events in actual DOM.
2-
For example if we have a `button` element and we want to pass a event handler for `click` event we can pass a props called `onClick` to the button element.
2+
For example if we have a `button` element and we want to pass an event handler for `click` event we can pass a props called `onClick` to the button element.
33

44
```jsx
55
function ClickableButton(props){

0 commit comments

Comments
 (0)