Skip to content

Commit

Permalink
Update grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddily authored Dec 7, 2024
1 parent 395b676 commit c412241
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function App() {
}
```
This may not seem like a huge deal right now, but what if we had 10 buttons, each one having different text, fonts, colors, sizes, and any other variation you can think of? Creating a new component for each of these button variations would very quickly lead to a LOT of code duplication.
This may not seem like a huge deal right now, but what if we had 10 buttons? Each one having different text, fonts, colors, sizes, and any other variation you can think of. Creating a new component for each of these button variations would very quickly lead to a LOT of code duplication.
Let's see how by using props, we can account for any number of variations with a *single* button component.

Expand Down

0 comments on commit c412241

Please sign in to comment.