@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
17 lines • 776 B
TypeScript
import { AdminComponentProps, FilterWrapper, ListData, ModelIcon, ModelName, Schema } from "../types";
export type ListProps = {
resource: ModelName;
data: ListData<ModelName>;
total: number;
resourcesIdProperty: Record<ModelName, string>;
title: string;
actions?: AdminComponentProps["actions"];
icon?: ModelIcon;
schema: Schema;
clientActionsComponents?: AdminComponentProps["dialogComponents"];
rawData: any[];
listFilterOptions?: Array<FilterWrapper<ModelName>>;
};
declare function List({ resource, data, total, actions, resourcesIdProperty, title, icon, schema, clientActionsComponents, rawData, listFilterOptions, }: ListProps): import("react/jsx-runtime").JSX.Element;
export default List;
//# sourceMappingURL=List.d.ts.map