mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
16 files changed
+382
-142
No files matched your search
@@ -0,0 +1,35 @@
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { faRetweet } from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
import { ITwitterTheme } from '../../twitter.theme';
|
||||
|
||||
interface IProps {
|
||||
profileName: string;
|
||||
}
|
||||
|
||||
const useStyles = makeStyles((theme: ITwitterTheme) => ({
|
||||
root: {
|
||||
color: theme.palette.secondary.main,
|
||||
fontSize: '16px',
|
||||
justifyContent: 'flex-start',
|
||||
width: '100%',
|
||||
paddingBottom: '8px',
|
||||
marginBottom: '6px',
|
||||
marginTop: '-6px'
|
||||
},
|
||||
}));
|
||||
|
||||
function Retweet({ profileName }: IProps) {
|
||||
const { t } = useTranslation();
|
||||
const classes = useStyles();
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
<FontAwesomeIcon icon={faRetweet} /> {profileName} {t('APPS_TWITTER_RETWEETED')}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Retweet;
|
||||
Reference in new issue
Block a user