From 70826654dfa91dafa0822021a4d36e73f00868fd Mon Sep 17 00:00:00 2001 From: amdwit Date: Mon, 9 Mar 2020 12:33:38 +0000 Subject: [PATCH] Update components-and-props.md (#2601) --- content/docs/components-and-props.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/components-and-props.md b/content/docs/components-and-props.md index 4b3bbb6e6..d2e52c929 100644 --- a/content/docs/components-and-props.md +++ b/content/docs/components-and-props.md @@ -60,7 +60,7 @@ However, elements can also represent user-defined components: const element = ; ``` -When React sees an element representing a user-defined component, it passes JSX attributes to this component as a single object. We call this object "props". +When React sees an element representing a user-defined component, it passes JSX attributes and children to this component as a single object. We call this object "props". For example, this code renders "Hello, Sara" on the page: