Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Feb 17, 2023
1 parent 85357b1 commit 4c07ba2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import PropTypes from 'prop-types';
import EmojiReactionBubble from '../EmojiReactionBubble';
import AddReactionBubble from '../AddReactionBubble';
import CONST from '../../../CONST';
import styles from '../../../styles/styles';

const EMOJI_BUBBLE_SCALE = 1.5;

Expand All @@ -20,16 +21,7 @@ const baseQuickEmojiReactionsDefaultProps = {
};

const BaseQuickEmojiReactions = props => (

// TODO: move this to styles file
<View style={{
gap: 12,
flexDirection: 'row',
paddingHorizontal: 25,
paddingVertical: 12,
justifyContent: 'space-between',
}}
>
<View style={styles.quickReactionsContainer}>
{_.map(CONST.QUICK_REACTIONS, reaction => (
<EmojiReactionBubble
key={reaction.name}
Expand Down
8 changes: 8 additions & 0 deletions src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -2945,6 +2945,14 @@ const styles = {
lineHeight: variables.iconSizeXLarge,
},

quickReactionsContainer: {
gap: 12,
flexDirection: 'row',
paddingHorizontal: 25,
paddingVertical: 12,
justifyContent: 'space-between',
},

magicCodeDigits: {
color: themeColors.text,
fontFamily: fontFamily.EXP_NEUE,
Expand Down

0 comments on commit 4c07ba2

Please sign in to comment.