Browse Source

Update components-and-props.md

main
Alex 7 years ago
committed by GitHub
parent
commit
77793be4ca
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      content/docs/components-and-props.md

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

@ -87,9 +87,9 @@ Let's recap what happens in this example:
>**Caveat:**
>
> Always start component names with a capital letter.
>Always start component names with a capital letter.
>
> React treats components starting with lowercase letters as DOM tags. For example, `<div />` represents an HTML div tag, but `<Welcome />` represents a component and requires `Welcome` to be in scope.
>React treats components starting with lowercase letters as DOM tags. For example, `<div />` represents an HTML div tag, but `<Welcome />` represents a component and requires `Welcome` to be in scope.
## Composing Components

Loading…
Cancel
Save