You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/create-input-1.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,11 @@ framework: react
9
9
chapter: Building reusable components
10
10
---
11
11
12
-
In this section we will embark on create UI components for the application. The reason why I like creating basic components like inputs,buttons etc from scratch is because I will always have control over the styling and not need to overwrite CSS classes.
12
+
In this section we will embark on creating UI components for the application. The reason why I like creating basic components like inputs,buttons etc from scratch is because I will always have control over the styling and not need to overwrite CSS classes.
13
13
14
14
Usually I create a component library and package it to NPM and import it into my app, but that would be overkill for such a small project like this.
15
15
16
-
First up under the components folder, create a folder called `inputs`, then create a file called `input.js` and paste the following:
16
+
First up under the `components` folder, create a folder called `inputs`, then create a file called `input.js` and paste the following:
0 commit comments