// @mui material components
import TableCell from "@mui/material/TableCell"
// ThreeD Garden components
import MDTypography from "~/components/mui/MDTypography"
import MDBox from "~/components/mui/MDBox"
// Declaring prop types for SalesTableCell
interface Props {
title: string
content?: string | number
image?: string
noBorder?: boolean
[key: string]: any
}
function SalesTableCell({
title,
content,
image,
noBorder,
...rest
}: Props): JSX.Element {
let template
if (image) {
template = (
{" "}
{title}:
{content}
)
} else {
template = (
{title}:
{content}
)
}
return template
}
// Declaring default props for SalesTableCell
SalesTableCell.defaultProps = {
image: "",
noBorder: false,
}
export default SalesTableCell