From cfc283100e68e4dceb8c2ecea95b318699c7e6e2 Mon Sep 17 00:00:00 2001 From: Kevin Lacker Date: Thu, 23 Jun 2016 18:19:27 -0700 Subject: [PATCH] fix bugs on landing page code, make the url an easter egg Summary: This is just improving a bit of lameness on the homepage - Devin pointed out the <>'s don't work within a Text tag, so I removed them, and someone else pointed out that nonexistent fake urls are suboptimal, so I improved that too. Closes https://github.com/facebook/react-native/pull/8387 Differential Revision: D3479087 Pulled By: JoelMarcey fbshipit-source-id: 45a2d21a9073b58b869e8b344550c28f849e0185 --- website/src/react-native/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/src/react-native/index.js b/website/src/react-native/index.js index 49a957f0cd9697..aeee07b85612dd 100644 --- a/website/src/react-native/index.js +++ b/website/src/react-native/index.js @@ -50,8 +50,8 @@ class WhyReactNativeIsSoGreat extends Component { If you like React on the web, you'll like React Native. - You just use native components like '' and '', - instead of web components like '
' and ''. + You just use native components like 'View' and 'Text', + instead of web components like 'div' and 'span'. ); @@ -72,12 +72,12 @@ class AwkwardScrollingImageWithText extends Component { render() { return ( - + - On iOS, a React Native '' uses a native UIScrollView. + On iOS, a React Native ScrollView uses a native UIScrollView. On Android, it uses a native ScrollView. - On iOS, a React Native '' uses a native UIImageView. + On iOS, a React Native Image uses a native UIImageView. On Android, it uses a native ImageView. React Native wraps the fundamental native components, giving you