import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import { Col } from 'react-bootstrap'; import { Cart } from 'react-bootstrap-icons'; import imgPlaceholder from '../../../assets/placeholder.jpg'; import './LineTableRow.css'; const LinesTableRow = ({ line, onAddCart, toInfoPage }) => { const handleAnchorClick = (event, action) => { event.preventDefault(); action(); }; const price =
{parseFloat(line.price).toFixed(0)} руб.
; return ({line.type.name}
{parseFloat(line.price).toFixed(0)} ₽
*/} //{line.type.name}
//{(line.description)}
//