From 1c8e83a644e53059f8a55873c06a5ed19b92ec81 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Fri, 19 Mar 2021 20:00:29 -0700 Subject: done --- .../notifications/NotificationPrompts.tsx | 58 ++++++++++++++++++++++ src/components/notifications/index.ts | 1 + 2 files changed, 59 insertions(+) create mode 100644 src/components/notifications/NotificationPrompts.tsx (limited to 'src/components/notifications') diff --git a/src/components/notifications/NotificationPrompts.tsx b/src/components/notifications/NotificationPrompts.tsx new file mode 100644 index 00000000..35e69496 --- /dev/null +++ b/src/components/notifications/NotificationPrompts.tsx @@ -0,0 +1,58 @@ +import React, {Fragment} from 'react'; +import {Image, StyleSheet, Text} from 'react-native'; +import {TaggPrompt} from '..'; + +export const InviteFriendsPrompt: React.FC = () => { + return ( + {}} + /> + ); +}; + +interface SPPromptNotificationProps { + showSPNotifyPopUp: boolean; +} + +export const SPPromptNotification: React.FC = ({ + showSPNotifyPopUp, +}) => { + return showSPNotifyPopUp ? ( + + + A new page where you can discover new profiles. Just press the new{' '} + + + button on the tab bar to check it out! + + } + logoType={'tagg'} + hideCloseButton={true} + noPadding={true} + onClose={() => {}} + /> + ) : ( + + ); +}; + +const styles = StyleSheet.create({ + icon: { + width: 20, + height: 20, + tintColor: 'grey', + }, +}); diff --git a/src/components/notifications/index.ts b/src/components/notifications/index.ts index 0260ce24..733b56f1 100644 --- a/src/components/notifications/index.ts +++ b/src/components/notifications/index.ts @@ -1 +1,2 @@ export {default as Notification} from './Notification'; +export {InviteFriendsPrompt} from './NotificationPrompts'; -- cgit v1.2.3-70-g09d2 From a4a7b8a80207c0a921464f7c64bc53821e47ce13 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Sat, 20 Mar 2021 13:33:18 -0400 Subject: resolve import --- src/components/notifications/NotificationPrompts.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/notifications') diff --git a/src/components/notifications/NotificationPrompts.tsx b/src/components/notifications/NotificationPrompts.tsx index 35e69496..03502b27 100644 --- a/src/components/notifications/NotificationPrompts.tsx +++ b/src/components/notifications/NotificationPrompts.tsx @@ -1,6 +1,6 @@ import React, {Fragment} from 'react'; import {Image, StyleSheet, Text} from 'react-native'; -import {TaggPrompt} from '..'; +import {TaggPrompt} from '../common'; export const InviteFriendsPrompt: React.FC = () => { return ( -- cgit v1.2.3-70-g09d2