mirror of
https://github.com/balzack/databag.git
synced 2025-05-04 23:45:21 +00:00
styling drawers
This commit is contained in:
parent
5796f7e863
commit
fc29f2b2e5
@ -40,9 +40,7 @@ export function Registry({ close, openContact }: { close: ()=>void, openContact:
|
|||||||
openContact(params);
|
openContact(params);
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<View style={{ borderRightWidth: 2 }}>
|
<Card containerStyle={{ ...styles.card, borderColor: theme.colors.outlineVariant }} imageUrl={item.imageUrl} name={item.name} handle={item.handle} node={item.node} placeholder={state.strings.name} select={select} actions={[]} />
|
||||||
<Card containerStyle={{ ...styles.card, borderColor: theme.colors.outlineVariant }} imageUrl={item.imageUrl} name={item.name} handle={item.handle} node={item.node} placeholder={state.strings.name} select={select} actions={[]} />
|
|
||||||
</View>
|
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
keyExtractor={(profile) => profile.guid}
|
keyExtractor={(profile) => profile.guid}
|
||||||
|
@ -162,9 +162,7 @@ function RegistryScreen({nav}) {
|
|||||||
id="RegistryDrawer"
|
id="RegistryDrawer"
|
||||||
drawerContent={() => (
|
drawerContent={() => (
|
||||||
<Surface elevation={1}>
|
<Surface elevation={1}>
|
||||||
<SafeAreaView>
|
<Registry openContact={(params: ContactParams)=>{console.log('opencon', params)}} />
|
||||||
<Registry openContact={(params: ContactParams)=>{console.log('opencon', params)}} />
|
|
||||||
</SafeAreaView>
|
|
||||||
</Surface>
|
</Surface>
|
||||||
)}
|
)}
|
||||||
screenOptions={{
|
screenOptions={{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user