"use client"; import { TableCell, TableRow } from '@mui/material'; import React from 'react'; interface ProductRowProps { amount: number; name: string; unitValue: number; tax: number; discount: number; total: number; } const ProductRow: React.FC = ({ amount, name, unitValue, tax, discount, total }) => { return ( {amount} {name} ${unitValue.toFixed(2)} ${tax.toFixed(2)} ${discount.toFixed(2)} ${total.toFixed(2)} ); }; export default ProductRow;