Skip to content

Commit 7498d2d

Browse files
committed
fixed create input
1 parent 2388e66 commit 7498d2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/create-input-1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ framework: react
99
chapter: Building reusable components
1010
---
1111

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.
1313

1414
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.
1515

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:
1717

1818
```javascript
1919
import React from "react"

0 commit comments

Comments
 (0)