Browse Source

Clarify Component capital letter caveat example.

Added "...the capital 'W' in..." to help reader focus their attention on the capital 'W' within `Welcome` for minor clarity improvement.
main
uberfabulous 7 years ago
committed by GitHub
parent
commit
dd604052fe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/components-and-props.md

2
content/docs/components-and-props.md

@ -89,7 +89,7 @@ Let's recap what happens in this example:
>
>Always start component names with a capital letter.
>
>For example, `<div />` represents a DOM tag, but `<Welcome />` represents a component and requires `Welcome` to be in scope.
>For example, `<div />` represents a DOM tag, but `<Welcome />` represents a component and requires the capital 'W' in `Welcome` to be in scope.
## Composing Components

Loading…
Cancel
Save