import { Box } from "@mui/material"; import { DataGrid, GridToolbar } from "@mui/x-data-grid"; import { tokens } from "../../theme"; import { mockDataContacts } from "../../data/mockData"; import Header from "../../components/Header"; import { useTheme } from "@mui/material"; const Contacts = () => { const theme = useTheme(); const colors = tokens(theme.palette.mode); const columns = [ { field: "id", headerName: "ID", flex: 0.5 }, { field: "registrarId", headerName: "Registrar ID" }, { field: "name", headerName: "Name", flex: 1, cellClassName: "name-column--cell", }, { field: "age", headerName: "Age", type: "number", headerAlign: "left", align: "left", }, { field: "phone", headerName: "Phone Number", flex: 1, }, { field: "email", headerName: "Email", flex: 1, }, { field: "address", headerName: "Address", flex: 1, }, { field: "city", headerName: "City", flex: 1, }, { field: "zipCode", headerName: "Zip Code", flex: 1, }, ]; return (
); }; export default Contacts;