2022-07-07 10:38:04 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
import { Image, Text, View } from 'react-native';
|
|
|
|
|
2022-07-18 13:16:08 +00:00
|
|
|
// @ts-ignore
|
2022-07-07 10:38:04 +00:00
|
|
|
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();
|
|
|
|
|
2022-07-11 12:30:37 +00:00
|
|
|
return (
|
|
|
|
<View style = { styles.credit }>
|
2022-07-07 10:38:04 +00:00
|
|
|
<Text
|
2022-07-11 12:30:37 +00:00
|
|
|
style = { styles.creditText }>{ t('poweredby') }</Text>
|
2022-07-07 10:38:04 +00:00
|
|
|
<Image
|
|
|
|
source = { require('../../../../../images/GIPHY_logo.png') } />
|
|
|
|
</View>
|
2022-07-11 12:30:37 +00:00
|
|
|
);
|
2022-07-07 10:38:04 +00:00
|
|
|
};
|
|
|
|
|
2022-07-08 08:27:27 +00:00
|
|
|
export default GifsMenuFooter;
|