components/TablePaginationFooter.tsx

react-data-table-component · src/components/TablePaginationFooter.tsx · typescript · Apache-2.0
ui

Module exposing: TablePaginationFooter

// Source: https://github.com/jbetancur/react-data-table-component | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import * as React from 'react';
import type { PaginationComponent, PaginationIcons, PaginationOptions, Localization } from '../types';
import { Direction } from '../constants';

interface TablePaginationFooterProps {
	Pagination: PaginationComponent;
	onChangePage: (page: number) => void;
	onChangeRowsPerPage: (newRowsPerPage: number) => void;
	rowCount: number;
	currentPage: number;
	rowsPerPage: number;
	direction: Direction;
	paginationRowsPerPageOptions: number[];
	paginationIcons?: PaginationIcons;
	paginationComponentOptions: PaginationOptions;
	localization?: L

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key