Skip to content

Commit

Permalink
Update docs/docs/adding-react-components.md
Browse files Browse the repository at this point in the history
Co-Authored-By: Kyle Gill <[email protected]>
  • Loading branch information
davwheat and gillkyle authored Oct 15, 2019
1 parent 14b37cf commit 9ea9fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/adding-react-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This guide covers how to add React components to your Gatsby site.

React components are prebuilt elements or groups of elements that can be used to prevent repeating yourself in your code.

Components also offer the ability to be customised using "props" (properties). Props can be of any Javascript type, such as boolean, string, object, array or almost anything you can think of.
Components also offer the ability to be customized using "props" (properties). Props can be of any Javascript type, such as boolean, string, object, array or almost anything you can think of.

For example, you could use a component for Buttons on your site. This is because they would likely be used multiple times across pages and would need different labels each time.

Expand Down

0 comments on commit 9ea9fb2

Please sign in to comment.