Completely updated React, fixed #11, (hopefully)
This commit is contained in:
30
goTorrentWebUI/node_modules/material-ui/Table/TablePagination.d.ts
generated
vendored
30
goTorrentWebUI/node_modules/material-ui/Table/TablePagination.d.ts
generated
vendored
@@ -1,37 +1,41 @@
|
||||
import * as React from 'react';
|
||||
import { StandardProps } from '..';
|
||||
import { TableCellProps, TableCellClassKey } from './TableCell.d'
|
||||
import { TableCellProps, TableCellClassKey } from './TableCell.d';
|
||||
import { IconButtonProps } from '../IconButton/IconButton';
|
||||
|
||||
interface LabelDisplayedRowsArgs {
|
||||
export interface LabelDisplayedRowsArgs {
|
||||
from: number;
|
||||
to: number;
|
||||
count: number;
|
||||
page: number;
|
||||
}
|
||||
|
||||
export interface TablePaginationProps extends StandardProps<
|
||||
TableCellProps,
|
||||
TablePaginationClassKey
|
||||
> {
|
||||
export interface TablePaginationProps
|
||||
extends StandardProps<TablePaginationBaseProps, TablePaginationClassKey> {
|
||||
Actions?: React.ReactType<TablePaginationBaseProps>;
|
||||
backIconButtonProps?: Partial<IconButtonProps>;
|
||||
component?: React.ReactType<TablePaginationBaseProps>;
|
||||
count: number;
|
||||
labelDisplayedRows?: (paginationInfo: LabelDisplayedRowsArgs) => Node;
|
||||
labelRowsPerPage?: Node;
|
||||
labelDisplayedRows?: (paginationInfo: LabelDisplayedRowsArgs) => React.ReactNode;
|
||||
labelRowsPerPage?: React.ReactNode;
|
||||
nextIconButtonProps?: Partial<IconButtonProps>;
|
||||
onChangePage: (event: React.MouseEvent<HTMLButtonElement> | null, page: number) => void;
|
||||
onChangeRowsPerPage: React.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
||||
onChangeRowsPerPage?: React.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
||||
page: number;
|
||||
rowsPerPage: number;
|
||||
rowsPerPageOptions?: number[];
|
||||
}
|
||||
|
||||
export type TablePaginationBaseProps = TableCellProps;
|
||||
|
||||
export type TablePaginationClassKey =
|
||||
| TableCellClassKey
|
||||
| 'cell'
|
||||
| 'toolbar'
|
||||
| 'spacer'
|
||||
| 'select'
|
||||
| 'caption'
|
||||
| 'input'
|
||||
| 'selectRoot'
|
||||
| 'actions'
|
||||
;
|
||||
| 'select';
|
||||
|
||||
declare const TablePagination: React.ComponentType<TablePaginationProps>;
|
||||
|
||||
|
Reference in New Issue
Block a user