diff --git a/pages/jsx.mdx b/pages/jsx.mdx index dc6877d..b631ff8 100644 --- a/pages/jsx.mdx +++ b/pages/jsx.mdx @@ -30,11 +30,11 @@ Any JSX _attributes_ become **props** (parameters) of the React element. The val ## Children -Any children elements should go between the opening tag, `
`, and closing tag `
`. Elements without children can using a self-closing tag, like `
`, as a shorthand. +Any children elements should go between the opening tag, `
`, and closing tag `
`. Elements without children can use a self-closing tag, like `
`, as a shorthand. -> When a JSX element wraps to multiple lines, we often write it when parentheses around it, since it looks nicer. +> When a JSX element wraps to multiple lines, we often write it with parentheses around it, since it looks nicer. ## Interpolation