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){
|
||||
const st = style(theme);
|
||||
|
||||
|
||||
return (
|
||||
<View style={style(theme).container}>
|
||||
<Text style={style(theme).text}>This is home</Text>
|
||||
<View style={st.container}>
|
||||
<View style={{...st.row, justifyContent: 'center'}}>
|
||||
<Text style={st.text}>NEWS FEED COMING SOON!</Text>
|
||||
</View>
|
||||
</View>
|
||||
)
|
||||
}
|
||||
|
|
@ -16,9 +21,17 @@ export default function Home({theme}:any){
|
|||
const style = (theme:any) => {
|
||||
return StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
justifyContent: 'center',
|
||||
marginBottom: 180,
|
||||
width: '100%',
|
||||
},
|
||||
text: {
|
||||
color: theme.text,
|
||||
}
|
||||
opacity: 0.5,
|
||||
},
|
||||
row: {
|
||||
flexDirection: 'row',
|
||||
},
|
||||
});
|
||||
}
|
||||
Loading…
Reference in New Issue