Add consistent view headers
This commit is contained in:
parent
0fd2c3c4cb
commit
ab134cac93
10 changed files with 164 additions and 64 deletions
|
@ -1,6 +1,7 @@
|
|||
import React, {useState, useEffect, useMemo} from 'react'
|
||||
import {View} from 'react-native'
|
||||
import {observer} from 'mobx-react-lite'
|
||||
import {ViewHeader} from '../com/util/ViewHeader'
|
||||
import {Feed} from '../com/posts/Feed'
|
||||
import {FAB} from '../com/util/FloatingActionButton'
|
||||
import {useStores} from '../../state'
|
||||
|
@ -53,6 +54,7 @@ export const Home = observer(function Home({
|
|||
|
||||
return (
|
||||
<View style={s.flex1}>
|
||||
<ViewHeader title="Bluesky" subtitle="Private Beta" />
|
||||
<Feed key="default" feed={defaultFeedView} scrollElRef={scrollElRef} />
|
||||
<FAB icon="pen-nib" onPress={onComposePress} />
|
||||
</View>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue