mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* feat(prop-types): use conditional types for better prop type inference * fix(tests): fix publish tests * fix(prop-types): add custom prop validator, and switch requireables * fix(test): revert ReactFragment change * fix(prop-types): namespace imports from react like a good boy * CR changes * actually remove param from validator * remove anyvalidationmap * everyday i'm test...ering * SEMICOLONS WHY * retain null in undefaultize
15 lines
505 B
TypeScript
15 lines
505 B
TypeScript
// Type definitions for material-ui-pagination 1.0
|
|
// Project: https://github.com/lo-tp/material-ui-pagination
|
|
// Definitions by: m0a <https://m0a.github.io>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.8
|
|
import * as React from 'react';
|
|
export interface PaginationProps {
|
|
total: number;
|
|
display: number;
|
|
current: number;
|
|
onChange(value: number): void;
|
|
}
|
|
declare class Pagination extends React.Component<PaginationProps, {}> {}
|
|
export default Pagination;
|