import React from 'react'; import { StyleProp } from 'react-native'; import FastImage, { ImageStyle } from 'react-native-fast-image'; import { useAppSelector } from '../../lib/hooks'; import { ICustomEmoji } from '../../definitions'; interface ICustomEmojiProps { emoji: ICustomEmoji; style: StyleProp; } const CustomEmoji = React.memo( ({ emoji, style }: ICustomEmojiProps) => { const baseUrl = useAppSelector(state => state.share.server.server || state.server.server); return ( ); }, () => true ); export default CustomEmoji;