@premieroctet/next-admin
Version:
Next-Admin provides a customizable and turnkey admin dashboard for applications built with Next.js and powered by the Prisma ORM. It aims to simplify the development process by providing a turnkey admin system that can be easily integrated into your proje
15 lines • 792 B
TypeScript
import { ReactNode } from "react";
import { AdminComponentProps, ModelName, SidebarConfiguration } from "../types";
export type MenuProps = {
resource?: ModelName | null;
resources?: ModelName[];
resourcesTitles?: Record<ModelName, string | undefined>;
customPages?: AdminComponentProps["customPages"];
configuration?: SidebarConfiguration;
resourcesIcons: AdminComponentProps["resourcesIcons"];
user?: AdminComponentProps["user"];
externalLinks?: AdminComponentProps["externalLinks"];
title?: ReactNode;
};
export default function Menu({ resources, resource: currentResource, resourcesTitles, customPages, configuration, resourcesIcons, user, externalLinks, title, }: MenuProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=Menu.d.ts.map