update home placeholder
This commit is contained in:
parent
c29e39d674
commit
66c7737993
|
|
@ -5,9 +5,14 @@ import { color } from '@rneui/themed/dist/config';
|
||||||
|
|
||||||
|
|
||||||
export default function Home({theme}:any){
|
export default function Home({theme}:any){
|
||||||
|
const st = style(theme);
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={style(theme).container}>
|
<View style={st.container}>
|
||||||
<Text style={style(theme).text}>This is home</Text>
|
<View style={{...st.row, justifyContent: 'center'}}>
|
||||||
|
<Text style={st.text}>NEWS FEED COMING SOON!</Text>
|
||||||
|
</View>
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
@ -16,9 +21,17 @@ export default function Home({theme}:any){
|
||||||
const style = (theme:any) => {
|
const style = (theme:any) => {
|
||||||
return StyleSheet.create({
|
return StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
|
flex: 1,
|
||||||
|
justifyContent: 'center',
|
||||||
|
marginBottom: 180,
|
||||||
|
width: '100%',
|
||||||
},
|
},
|
||||||
text: {
|
text: {
|
||||||
color: theme.text,
|
color: theme.text,
|
||||||
}
|
opacity: 0.5,
|
||||||
|
},
|
||||||
|
row: {
|
||||||
|
flexDirection: 'row',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue