Some checks failed
Close stale issues and PRs / stale (push) Has been cancelled
28 lines
721 B
TypeScript
28 lines
721 B
TypeScript
import React from 'react';
|
|
import { useTranslation } from 'react-i18next';
|
|
import { Image, Text, TextStyle, View, ViewStyle } from 'react-native';
|
|
|
|
import styles from './styles';
|
|
|
|
|
|
/**
|
|
* Implements the gifs menu footer component.
|
|
*
|
|
* @returns { JSX.Element} - The gifs menu footer component.
|
|
*/
|
|
const GifsMenuFooter = (): JSX.Element => {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<View style = { styles.credit as ViewStyle }>
|
|
<Text style = { styles.creditText as TextStyle }>
|
|
{ t('poweredby') }
|
|
</Text>
|
|
<Image
|
|
source = { require('../../../../../images/GIPHY_logo.png') } />
|
|
</View>
|
|
);
|
|
};
|
|
|
|
export default GifsMenuFooter;
|