DefinitelyTyped/types/material-ui-pagination/index.d.ts
Ferdy Budhidharma ffc8351127 [prop-types] use conditional types for better prop type inference (#27378)
* 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
2018-07-21 13:41:15 +01:00

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;