goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
19 lines • 896 B
TypeScript
import { ColumnDef, RowData } from '../types';
import { DataGridStyles } from '../../../theme';
export interface CustomFooterProps {
page: number;
pageSize: number;
rowCount: number;
onPageChange: (newPage: number) => void;
onPageSizeChange: (newPageSize: number) => void;
columns: ColumnDef[];
/** Row data for export functionality */
rows?: RowData[];
/** Callback for PDF export - receives columns and rows */
onExportPdf: (columns: ColumnDef[], rows: RowData[]) => void;
/** Comprehensive styling options including theme, custom colors, and layout properties. */
styles?: DataGridStyles;
}
declare function CustomFooter({ page, pageSize, rowCount, onPageChange, onPageSizeChange, columns, rows, onExportPdf, styles, }: CustomFooterProps): import("react/jsx-runtime").JSX.Element;
export default CustomFooter;
//# sourceMappingURL=index.d.ts.map