mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
31 lines
819 B
TypeScript
31 lines
819 B
TypeScript
import React from 'react';
|
|
import Paper from '@material-ui/core/Paper';
|
|
import { makeStyles } from '@material-ui/core';
|
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
import { faAd } from '@fortawesome/free-solid-svg-icons';
|
|
|
|
const useStyles = makeStyles((theme) => ({
|
|
root: {
|
|
height: '60px',
|
|
width: '100%',
|
|
display: 'flex',
|
|
flexFlow: 'row nowrap',
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
background: theme.palette.background.default,
|
|
},
|
|
icon: {
|
|
color: theme.palette.primary.main,
|
|
fontSize: 40,
|
|
},
|
|
}));
|
|
|
|
export const MarketplaceTitle = () => {
|
|
const classes = useStyles();
|
|
return (
|
|
<Paper className={classes.root} square variant="outlined" elevation={24}>
|
|
<FontAwesomeIcon icon={faAd} className={classes.icon} />
|
|
</Paper>
|
|
);
|
|
};
|