mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
21 lines
394 B
JavaScript
21 lines
394 B
JavaScript
import React from 'react'
|
|
import { StyleSheet, Text, View } from 'react-native'
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
alignItems: 'center',
|
|
justifyContent: 'center'
|
|
},
|
|
text: {
|
|
alignItems: 'center',
|
|
fontSize: 24
|
|
}
|
|
})
|
|
|
|
export default props => (
|
|
<View style={styles.container}>
|
|
<Text style={styles.text}>Welcome to Next.js!</Text>
|
|
</View>
|
|
)
|