diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-10-31 12:17:58 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-10-31 12:17:58 -0500 |
commit | eceef67d466007155718c93e6c2fe2b1afa53175 (patch) | |
tree | cd92e9b0a5609823f095f1939ee613d6003217f1 /src/view/screens/Notifications.tsx | |
parent | 1ab8285ad37020094fa27aca95837a2e6650dcd4 (diff) | |
download | voidsky-eceef67d466007155718c93e6c2fe2b1afa53175.tar.zst |
WIP scene UIs
Diffstat (limited to 'src/view/screens/Notifications.tsx')
-rw-r--r-- | src/view/screens/Notifications.tsx | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/src/view/screens/Notifications.tsx b/src/view/screens/Notifications.tsx index fac39acd2..e33a34c2f 100644 --- a/src/view/screens/Notifications.tsx +++ b/src/view/screens/Notifications.tsx @@ -1,6 +1,7 @@ import React, {useState, useEffect} from 'react' -import {View} from 'react-native' +import {StyleSheet, Text, View} from 'react-native' import {Feed} from '../com/notifications/Feed' +import {colors} from '../lib/styles' import {useStores} from '../../state' import {NotificationsViewModel} from '../../state/models/notifications-view' import {ScreenParams} from '../routes' @@ -35,5 +36,24 @@ export const Notifications = ({visible}: ScreenParams) => { } }, [visible, store]) - return <View>{notesView && <Feed view={notesView} />}</View> + return ( + <View> + <View style={styles.header}> + <Text style={styles.title}>Notifications</Text> + </View> + {notesView && <Feed view={notesView} />} + </View> + ) } + +const styles = StyleSheet.create({ + header: { + backgroundColor: colors.white, + }, + title: { + fontSize: 30, + fontWeight: 'bold', + paddingHorizontal: 12, + paddingVertical: 6, + }, +}) |