@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
11 lines (10 loc) • 385 B
JavaScript
import { getMainLayoutProps, getPropsFromParams } from "./utils/props.mjs";
const getNextAdminProps = async (params)=>getPropsFromParams({
...params,
isAppDir: true
});
const appRouter_getMainLayoutProps = (args)=>getMainLayoutProps({
...args,
isAppDir: true
});
export { appRouter_getMainLayoutProps as getMainLayoutProps, getNextAdminProps };