UNPKG

seti-ramesesv1

Version:

Reusable components and context for Next.js apps

21 lines (20 loc) 663 B
import React from "react"; import type { Column, ExtraAction } from "./types"; type DataListBodyProps = { items: Record<string, any>[]; visibleCols: Column[]; showActions: boolean; allRowActions: ExtraAction[]; dropdown?: (item: Record<string, any>) => React.ReactNode; expandedRowIndex: number | null; setExpandedRowIndex: React.Dispatch<React.SetStateAction<number | null>>; loading: boolean; limit: number; emptyState?: { title?: string; message?: string; }; openItem?: (item: Record<string, any>) => void; }; declare const DataListBody: React.FC<DataListBodyProps>; export default DataListBody;