diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-05-07 16:26:35 -0700 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-05-07 16:26:35 -0700 |
commit | a3bae91f19400373dc396fc60d5f29d3b4506d23 (patch) | |
tree | 1ca0937df148523f0482c8c44d2fe8817539a7be /src/components/notifications/NotificationPrompts.tsx | |
parent | 2510736eef1a66ff3c5b220ac42ca6cc0bce366d (diff) |
cleaning
Diffstat (limited to 'src/components/notifications/NotificationPrompts.tsx')
-rw-r--r-- | src/components/notifications/NotificationPrompts.tsx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/components/notifications/NotificationPrompts.tsx b/src/components/notifications/NotificationPrompts.tsx index 6c6da11e..06f6ecc6 100644 --- a/src/components/notifications/NotificationPrompts.tsx +++ b/src/components/notifications/NotificationPrompts.tsx @@ -1,5 +1,6 @@ import React, {Fragment} from 'react'; import {Image, StyleSheet, Text} from 'react-native'; +import {normalize, SCREEN_WIDTH} from '../../utils'; import {TaggPrompt} from '../common'; export const InviteFriendsPrompt: React.FC = () => { @@ -10,7 +11,6 @@ export const InviteFriendsPrompt: React.FC = () => { 'A new feature that lets you invite your friends to Tagg. \nClick on your friends list to do so!' } logoType={'invite_friends'} - logoLink={null} hideCloseButton={true} noPadding={true} onClose={() => {}} @@ -26,7 +26,6 @@ export const PrivateAccountsPrompt: React.FC = () => { 'You can now choose to make your account private!\nHead over to the privacy tab in settings to check it out' } logoType={'private_accounts'} - logoLink={null} hideCloseButton={true} noPadding={true} onClose={() => {}} @@ -35,14 +34,20 @@ export const PrivateAccountsPrompt: React.FC = () => { }; export const NewChatPrompt: React.FC = () => { - const handWaveRegex = `\u{1F44B}` - const message = `Introducing messaging, another way to engage with\nfriends on campus! Send a ${handWaveRegex} to a friend now!` + const handWaveRegex = '\u{1F44B}'; + const message = `Introducing messaging, another way to engage with\nfriends on campus! Send a ${handWaveRegex} to a friend now!`; return ( <TaggPrompt messageHeader={'Chat!'} messageBody={message} logoType={'chat'} - logoLink={"ChatList"} + logoLink={'ChatList'} + externalStyles={{ + icon: { + width: SCREEN_WIDTH * 0.9, + height: normalize(70), + }, + }} hideCloseButton={true} noPadding={true} onClose={() => {}} @@ -73,7 +78,6 @@ export const SPPromptNotification: React.FC<SPPromptNotificationProps> = ({ </> } logoType={'tagg'} - logoLink={null} hideCloseButton={true} noPadding={true} onClose={() => {}} |