Minor example page update

This commit is contained in:
Nicolas Gallagher
2015-09-09 00:31:32 -07:00
parent eada8e7fc7
commit e0f836ccb5
2 changed files with 8 additions and 2 deletions

View File

@@ -54,7 +54,13 @@ class Example extends Component {
render() {
return (
<View accessibilityRole='main' style={styles.root}>
<Heading level='1' size='xlarge'>React Native for Web: examples</Heading>
<Heading level='1' size='xlarge'>React Native Web</Heading>
<Text>React Native Web takes the core components from <Text
component="a" href="https://facebook.github.io/react-native/">React
Native</Text> and brings them to the web. These components provide
simple building blocks touch and swipe handling, flexbox layout,
scroll views from which more complex components and apps can be
constructed.</Text>
<Heading level='2' size='large'>Image</Heading>
<Image
@@ -194,7 +200,6 @@ class Example extends Component {
const styles = {
root: {
fontFamily: 'sans-serif',
maxWidth: '600px',
margin: '0 auto'
},

View File

@@ -3,5 +3,6 @@
<title>React Native for Web</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="The core React Native components adapted and expanded upon for the web">
<style>html { font-family: sans-serif; }</style>
<div id="react-root"></div>
<script src="/example.js"></script>