// @mui import Avatar from '@mui/material/Avatar'; import Tooltip from '@mui/material/Tooltip'; import MenuItem from '@mui/material/MenuItem'; import TableRow from '@mui/material/TableRow'; import TableCell from '@mui/material/TableCell'; import IconButton from '@mui/material/IconButton'; // hooks import { useBoolean } from 'src/hooks/use-boolean'; // types import { Customer } from 'src/schemas'; // components import Label from 'src/components/label'; import Iconify from 'src/components/iconify'; import CustomPopover, { usePopover } from 'src/components/custom-popover'; // import CustomerQuickEditForm from './customer-quick-edit-form'; // ---------------------------------------------------------------------- type Props = { selected: boolean; onEditRow: VoidFunction; row: Customer; }; export default function CustomerTableRow({ row, selected, onEditRow }: Props) { const { name, logoUrl, representative, status, email, phoneNumber } = row; // const confirm = useBoolean(); const quickEdit = useBoolean(); // const popover = usePopover(); return ( <> {/* */} {name} {representative} {email} {/* */} {/* { onEditRow(); popover.onClose(); }} > Edit */} ); }