From e80a1625ddbe64588defb0211d94b0db9cbafb4d Mon Sep 17 00:00:00 2001 From: Erik K Date: Sat, 19 Jan 2019 02:41:46 +0200 Subject: [PATCH] prop.title -> prop.text (#32159) Properties should be having the same name for the example to work. Either line 37 and line 45 are {props.text} and text="Welcome" OR {props.title} and title="Welcome" --- guide/english/react-native/props/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/react-native/props/index.md b/guide/english/react-native/props/index.md index 2e3a954bab..4f40e45281 100644 --- a/guide/english/react-native/props/index.md +++ b/guide/english/react-native/props/index.md @@ -34,7 +34,7 @@ This also works the same way in functional components: // in functional components, props will be received as a parameter 'props' const Header = (props) => { return ( - {props.title} + {props.text} ); };