import { UserOutlined, SettingOutlined } from "@ant-design/icons";
import React from "react";
import { DageRouteItem } from "./types";

export const DEFAULT_MENU: DageRouteItem[] = [];

export const DEFAULT_ADMIN_MENU: DageRouteItem[] = [
  {
    path: "/user",
    title: "用户管理",
    icon: <UserOutlined />,
    Component: React.lazy(() => import("../pages/User")),
  },
  {
    path: "/log",
    title: "操作日志",
    icon: <SettingOutlined />,
    Component: React.lazy(() => import("../pages/Log")),
  },
];

export * from "./types";
