Skip to content

Commit e968c9e

Browse files
Cleanup
1 parent 138f2ce commit e968c9e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/components/Reaction/ReactionPicker.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ import type {
2020

2121
const Container = styled.TouchableOpacity<{ leftAlign: boolean }>`
2222
align-items: ${({ leftAlign }) => (leftAlign ? 'flex-start' : 'flex-end')};
23-
border-color: pink;
24-
border-width: 10px;
2523
flex: 1;
2624
${({ theme }) => theme.message.reactionPicker.container.css}
2725
`;
@@ -30,8 +28,7 @@ const ContainerView = styled.View`
3028
background-color: black;
3129
border-radius: 30px;
3230
flex-direction: row;
33-
flex-wrap: wrap;
34-
height: 100px;
31+
height: 60px;
3532
padding-horizontal: 20px;
3633
${({ theme }) => theme.message.reactionPicker.containerView.css}
3734
`;
@@ -90,7 +87,6 @@ export type ReactionPickerProps<
9087
| MessageWithDates<At, Ch, Co, Me, Re, Us>['reaction_counts']
9188
| null;
9289
reactionPickerVisible?: boolean;
93-
rpBottom?: number;
9490
rpLeft?: number;
9591
rpRight?: number;
9692
rpTop?: number;
@@ -118,15 +114,15 @@ export const ReactionPicker = <
118114
reactionPickerVisible,
119115
rpLeft,
120116
rpRight,
121-
rpTop,
117+
rpTop = 40,
122118
supportedReactions = emojiData,
123119
} = props;
124120

125121
if (!reactionPickerVisible) return null;
126122

127123
return (
128124
<Modal
129-
animationType='slide'
125+
animationType='fade'
130126
onRequestClose={handleDismiss}
131127
testID='reaction-picker'
132128
transparent

0 commit comments

Comments
 (0)