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'; import { isIOS } from '../../lib/methods/helpers'; const Footer = ({ onSearchPressed, onBackspacePressed }: IFooterProps): React.ReactElement => { const { colors } = useTheme(); return ( [ styles.footerButtonsContainer, { backgroundColor: isIOS && pressed ? colors.buttonBackgroundSecondaryPress : 'transparent' } ]} testID='emoji-picker-search' > [ styles.footerButtonsContainer, { backgroundColor: isIOS && pressed ? colors.buttonBackgroundSecondaryPress : 'transparent' } ]} testID='emoji-picker-backspace' > ); }; export default Footer;