2022-07-07 10:38:04 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
import { Image, Text, View } from 'react-native';
|
|
|
|
|
|
|
|
import styles from './styles';
|
|
|
|
|
2022-07-08 08:27:27 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Implements the gifs menu footer component.
|
|
|
|
*
|
|
|
|
* @returns { JSX.Element} - The gifs menu footer component.
|
|
|
|
*/
|
2022-07-07 10:38:04 +00:00
|
|
|
const GifsMenuFooter = (): JSX.Element => {
|
|
|
|
const { t } = useTranslation();
|
|
|
|
|
|
|
|
return(
|
|
|
|
<View style={ styles.credit }>
|
|
|
|
<Text
|
|
|
|
style={ styles.creditText }>{ t('poweredby') }</Text>
|
|
|
|
<Image
|
|
|
|
source = { require('../../../../../images/GIPHY_logo.png') } />
|
|
|
|
</View>
|
|
|
|
)
|
|
|
|
};
|
|
|
|
|
2022-07-08 08:27:27 +00:00
|
|
|
export default GifsMenuFooter;
|