import React from 'react'; import { View, Pressable } from 'react-native'; import { useTheme } from '../../theme'; import { CustomIcon } from '../CustomIcon'; import styles from './styles'; import { IFooterProps } from './interfaces'; const BUTTON_HIT_SLOP = { top: 15, right: 15, bottom: 15, left: 15 }; const Footer = ({ onSearchPressed, onBackspacePressed }: IFooterProps): React.ReactElement => { const { colors } = useTheme(); return ( [styles.footerButtonsContainer, { opacity: pressed ? 0.7 : 1 }]} testID='emoji-picker-search' > [styles.footerButtonsContainer, { opacity: pressed ? 0.7 : 1 }]} testID='emoji-picker-backspace' > ); }; export default Footer;