From 70d22af8262d03c114f0a0f7e7a85b47241ac615 Mon Sep 17 00:00:00 2001 From: Abhishek Rawat <39383758+rawatdev@users.noreply.github.com> Date: Mon, 31 Oct 2022 18:44:09 +0530 Subject: [PATCH] fix typo 1) using to use 2) when to with --- pages/jsx.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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