Skip to content

Commit 63a769f

Browse files
committed
Capitalize Components in your-first-component.md
1 parent 7c3f009 commit 63a769f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/content/learn/your-first-component.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ With `function Profile() { }` you define a JavaScript function with the name `Pr
8888

8989
<Pitfall>
9090

91-
React components are regular JavaScript functions, but **their names must start with a capital letter** or they won't work!
91+
React Components are regular JavaScript functions, but **their names must start with a capital letter** or they won't work!
9292

9393
</Pitfall>
9494

@@ -227,7 +227,7 @@ You've just gotten your first taste of React! Let's recap some key points.
227227

228228
* React lets you create components, **reusable UI elements for your app.**
229229
* In a React app, every piece of UI is a component.
230-
* React components are regular JavaScript functions except:
230+
* React Components are regular JavaScript functions except:
231231

232232
1. Their names always begin with a capital letter.
233233
2. They return JSX markup.

0 commit comments

Comments
 (0)