@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
20 lines • 865 B
TypeScript
import { RowSelectionState } from "@tanstack/react-table";
import { ChangeEvent } from "react";
import { AdminComponentProps, ModelIcon, ModelName, Schema } from "../types";
type Props = {
resource: ModelName;
isPending: boolean;
onSearchChange?: (e: ChangeEvent<HTMLInputElement>) => void;
search: string;
actions?: AdminComponentProps["actions"];
selectedRows: RowSelectionState;
getSelectedRowsIds: () => string[] | number[];
onDelete: () => Promise<void>;
title: string;
icon?: ModelIcon;
totalCount?: number;
schema: Schema;
};
export default function ListHeader({ resource, isPending, onSearchChange, search, actions: actionsProp, selectedRows, getSelectedRowsIds, onDelete, title, icon, totalCount, schema, }: Props): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=ListHeader.d.ts.map