import Link from "react-router-dom/es/Link";
import {Box, Typography} from "@mui/material";
import {backURL} from "../../actions/PathDB";
import imgNotFound from "../../img/catalog/imgNotFound.png";
export const ItemFound = ({item:{_id, name, price, images, description}}) => {
return (
{name || 'name'}
{
description.length > 60 ?
'Lorem ipsum dolor sit amet, consectetur adipisicing elit.'
: description
}
${parseFloat(price || 0).toFixed(2)}
)
}