mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
working typescript compiling and fixing linting issues
This commit is contained in:
1 parent
b1babd88c2
commit
3273d192c9
49 files changed
+271
-110
No files matched your search
@@ -1,10 +1,6 @@
|
||||
import React from "react";
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import {
|
||||
Button,
|
||||
Typography,
|
||||
Paper,
|
||||
} from "@material-ui/core";
|
||||
import { Button, Typography, Paper } from "@material-ui/core";
|
||||
import { ImageDisplay } from "../images/ImageDisplay";
|
||||
import { ListItem } from "../../../../ui/components/ListItem";
|
||||
import ChatIcon from "@material-ui/icons/Chat";
|
||||
@@ -63,10 +59,10 @@ export const SelloutItem = (listing) => {
|
||||
</Typography>
|
||||
</div>
|
||||
<ImageDisplay imgURL={listing.img} />
|
||||
<Typography variant="h7" className={classes.desc}>
|
||||
<Typography variant="h6" className={classes.desc}>
|
||||
{listing.description}
|
||||
</Typography>
|
||||
<div className={classes.postActions}>
|
||||
<div>
|
||||
<Button>
|
||||
<ChatIcon style={{ color: "#f44336" }} />
|
||||
</Button>
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
import React from "react";
|
||||
import Paper from "@material-ui/core/Paper";
|
||||
import { makeStyles } from "@material-ui/core";
|
||||
import LinkedInIcon from "@material-ui/icons/LinkedIn";
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||
import { faAd } from '@fortawesome/free-solid-svg-icons'
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faAd } from "@fortawesome/free-solid-svg-icons";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
import React from 'react'
|
||||
import React from "react";
|
||||
|
||||
export const ImageDisplay = ({ imgURL }) => {
|
||||
return <img src={imgURL} alt="Image" style={{height: 200, width: 350, margin: "auto"}}/>
|
||||
}
|
||||
return (
|
||||
<img
|
||||
src={imgURL}
|
||||
alt="twitter display"
|
||||
style={{ height: 200, width: 350, margin: "auto" }}
|
||||
/>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user