@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
14 lines • 798 B
TypeScript
import type { CustomInputProps, ModelName, NextAdminOptions } from "../types";
/**
* Get the custom inputs for a model
*
* Used only for the create / edit page
*/
export declare const getCustomInputs: (model: ModelName, options?: NextAdminOptions) => Record<string, import("react").ReactElement<CustomInputProps, string | import("react").JSXElementConstructor<any>>>;
export declare const getClientActionsComponents: (model: ModelName, options?: NextAdminOptions) => Record<string, import("react").ReactElement<Partial<{
resource: ModelName;
resourceIds: Array<string | number>;
data: Array<import("..").Model<T>>;
onClose: (message?: import("..").MessageData) => void;
}>, string | import("react").JSXElementConstructor<any>>> | undefined;
//# sourceMappingURL=options.d.ts.map