-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
29/8, revisi dikit di button back screen profil dan screen notif
- Loading branch information
1 parent
9380ee3
commit 3a207a7
Showing
2 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,32 @@ | ||
import {Text} from '@components'; | ||
|
||
import {Text, SafeAreaView, Header, Icon} from '@components'; | ||
import {BaseStyle, BaseColor} from '../../config'; | ||
import {useTranslation} from 'react-i18next'; | ||
const Notification = props => { | ||
return <Text>inni notif</Text>; | ||
const {t} = useTranslation(); | ||
return ( | ||
<SafeAreaView | ||
edges={['right', 'top', 'left']} | ||
style={[BaseStyle.safeAreaView, {backgroundColor: BaseColor.whiteColor}]}> | ||
<Header | ||
title={t('notification')} | ||
renderLeft={() => { | ||
return ( | ||
<Icon | ||
// name="angle-left" | ||
name="arrow-left" | ||
size={18} | ||
color={BaseColor.corn70} | ||
enableRTL={true} | ||
/> | ||
); | ||
}} | ||
style={{height: 80}} | ||
onPressLeft={() => { | ||
navigation.goBack(); | ||
}} | ||
/> | ||
<Text>inni notif</Text> | ||
</SafeAreaView> | ||
); | ||
}; | ||
export default Notification; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters