import { jsxs, jsx } from "react/jsx-runtime";
import { A as AppLayout } from "./app-layout-Cq2dk1dx.js";
import { Head } from "@inertiajs/react";
import { G as GridView } from "./grid-view-BAvJPkXa.js";
import { useState, useEffect } from "react";
import "@radix-ui/react-slot";
import "class-variance-authority";
import "lucide-react";
import "./app-logo-icon-CoogQ1E6.js";
import "clsx";
import "tailwind-merge";
import "@radix-ui/react-dialog";
import "@radix-ui/react-tooltip";
import "@radix-ui/react-dropdown-menu";
import "@radix-ui/react-avatar";
import "@mui/material/Alert";
import "@mui/material/Box";
import "@mui/material/Grid";
const breadcrumbs = [
  {
    title: "Customers",
    href: "/customers"
  },
  {
    title: "Create",
    href: "#"
  }
];
function Dashboard({ columns = [], dataset = [] }) {
  const [tableColumn, setTableColumns] = useState([]);
  const [tableData, setTableData] = useState([]);
  useEffect(() => {
    setTableColumns(columns);
    setTableData(dataset);
  }, [columns, dataset]);
  return /* @__PURE__ */ jsxs(AppLayout, { breadcrumbs, children: [
    /* @__PURE__ */ jsx(Head, { title: "Customers" }),
    /* @__PURE__ */ jsxs(GridView, { title: "Customers", children: [
      /* @__PURE__ */ jsx("dsdsd", { children: "2" }),
      /* @__PURE__ */ jsx("dsdsd", { children: "2" }),
      /* @__PURE__ */ jsx("dsdsd", { children: "2" })
    ] })
  ] });
}
export {
  Dashboard as default
};
