import SectionContainer from '../../components/SectionContainer.jsx'; import { useState } from 'react'; import { DataGrid } from '@mui/x-data-grid'; import { Typography, Button, Dialog, DialogTitle, DialogContent, IconButton, Box, Avatar } from '@mui/material'; import EditRoundedIcon from '@mui/icons-material/EditRounded'; import DeleteRoundedIcon from '@mui/icons-material/DeleteRounded'; import '../../App.css'; const columns = [ { field: 'avatar', headerName: '', width: 100, renderCell: (params) => ( ) }, { field: 'fullName', headerName: 'Full Name', flex: 1 }, { field: 'email', headerName: 'Email', flex: 1.5 }, { field: 'phone', headerName: 'Phone', flex: 1 }, { field: 'address', headerName: 'Address', flex: 1.5 }, { field: 'company', headerName: 'Company', flex: 1 }, { field: 'actions', headerName: '', width: 130, renderCell: (params) => ( ) } ]; export default function Clients() { const [rows, setRows] = useState([ { id: 1, avatar: '/client1.jpg', fullName: 'Anna Wintour', email: 'anna@fendi.com', phone: '+1 555-1234', address: '123 Fashion Blvd, NY', company: 'Fendi Casa' }, { id: 2, avatar: '/client2.jpg', fullName: 'Karl Lagerfeld', email: 'karl@fendi.com', phone: '+1 555-5678', address: '456 Style Ave, Paris', company: 'Fendi Casa' }, { id: 3, avatar: '', fullName: 'Donatella Versace', email: 'donatella@fendi.com', phone: '+1 555-9999', address: '789 Couture St, Milan', company: 'Fendi Casa' } ]); return ( Clients 60} rows={rows} columns={columns} pageSize={5} rowsPerPageOptions={[5]} getRowSpacing={() => ({ top: 4, bottom: 4 })} /> ); }