From 6a2706cfa7edbe60ad0a6d27e5c4ca2b7faf1361 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Tue, 23 Feb 2021 10:26:15 -0800 Subject: requested button styled --- .../suggestedPeople/SuggestedPeopleScreen.tsx | 30 ++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx b/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx index 79b9abc8..42ca3247 100644 --- a/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx +++ b/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx @@ -197,10 +197,10 @@ const SuggestedPeopleScreen: React.FC = () => { if (friendship.requester_id === loggedInUserId) { return ( onCancelRequest(suggested)} disabled={false}> - {'Requested'} + {'Requested'} ); } else { @@ -383,6 +383,32 @@ const styles = StyleSheet.create({ alignItems: 'flex-start', marginBottom: '5%', }, + requestedButton: { + justifyContent: 'center', + alignItems: 'center', + width: SCREEN_WIDTH * 0.3, + height: SCREEN_WIDTH * 0.085, + padding: 0, + borderWidth: 2, + borderColor: 'transparent', + borderRadius: 1, + marginLeft: '1%', + marginTop: '4%', + shadowColor: 'rgb(0, 0, 0)', + shadowRadius: 2, + shadowOffset: {width: 2, height: 2}, + shadowOpacity: 0.5, + backgroundColor: '#fff', + }, + requestedButtonTitle: { + backgroundColor: 'transparent', + padding: 0, + fontSize: normalize(15), + lineHeight: normalize(18), + fontWeight: 'bold', + textAlign: 'center', + letterSpacing: normalize(1), + }, body: {}, button: { -- cgit v1.2.3-70-g09d2