@types/react-bootstrap-table2-paginator
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -12,3 +12,3 @@ // Type definitions for react-bootstrap-table2-paginator 2.1 | ||
export interface PaginationCtxOptions { | ||
options?: PaginationOptions; | ||
options?: PaginationOptions | undefined; | ||
} | ||
@@ -24,4 +24,4 @@ | ||
interface PaginationChildProps extends PaginationOptions { | ||
tableId?: string; | ||
bootstrap4?: boolean; | ||
tableId?: string | undefined; | ||
bootstrap4?: boolean | undefined; | ||
} | ||
@@ -33,3 +33,3 @@ | ||
export function PaginationProvider(props: { | ||
pagination?: PaginationCtxOptions; | ||
pagination?: PaginationCtxOptions | undefined; | ||
children: (childProps: { | ||
@@ -45,9 +45,9 @@ paginationProps: PaginationChildProps; | ||
export interface SizePerPageDropdownStandaloneProps extends PaginationChildProps { | ||
open?: boolean; | ||
hidden?: boolean; | ||
btnContextual?: boolean; | ||
variation?: 'dropdown' | 'dropup'; | ||
className?: string; | ||
open?: boolean | undefined; | ||
hidden?: boolean | undefined; | ||
btnContextual?: boolean | undefined; | ||
variation?: 'dropdown' | 'dropup' | undefined; | ||
className?: string | undefined; | ||
} | ||
export const SizePerPageDropdownStandalone: React.FC<SizePerPageDropdownStandaloneProps>; |
{ | ||
"name": "@types/react-bootstrap-table2-paginator", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "TypeScript definitions for react-bootstrap-table2-paginator", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-bootstrap-table2-paginator", | ||
"license": "MIT", | ||
@@ -24,4 +25,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "5b7e43aba9e4f0b062e798b6b30191e3cb139f25ced500aca761c0e3656fd015", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "46249090ebd1ad2d7df39d42f606b93e7cfed874344d65c0542fad180cf642ad", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -9,5 +9,58 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-bootstrap-table2-paginator. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-bootstrap-table2-paginator/index.d.ts) | ||
````ts | ||
// Type definitions for react-bootstrap-table2-paginator 2.1 | ||
// Project: https://github.com/react-bootstrap-table/react-bootstrap-table2#readme | ||
// Definitions by: Wlad Meixner <https://github.com/gosticks> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 3.0 | ||
// documentation taken from https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/table-props.html | ||
import { PaginationOptions, BootstrapTableProps } from 'react-bootstrap-table-next'; | ||
export interface PaginationCtxOptions { | ||
options?: PaginationOptions | undefined; | ||
} | ||
/** | ||
* declaration for table pagination sub module and factory | ||
*/ | ||
declare function paginationFactory(options: PaginationOptions): PaginationCtxOptions; | ||
export default paginationFactory; | ||
interface PaginationChildProps extends PaginationOptions { | ||
tableId?: string | undefined; | ||
bootstrap4?: boolean | undefined; | ||
} | ||
/** | ||
* Pagination context provider | ||
*/ | ||
export function PaginationProvider(props: { | ||
pagination?: PaginationCtxOptions | undefined; | ||
children: (childProps: { | ||
paginationProps: PaginationChildProps; | ||
paginationTableProps: BootstrapTableProps; | ||
}) => React.ReactElement | null; | ||
}): React.ReactElement | null; | ||
export const PaginationTotalStandalone: React.FC<PaginationChildProps>; | ||
export const PaginationListStandalone: React.FC<PaginationChildProps>; | ||
export interface SizePerPageDropdownStandaloneProps extends PaginationChildProps { | ||
open?: boolean | undefined; | ||
hidden?: boolean | undefined; | ||
btnContextual?: boolean | undefined; | ||
variation?: 'dropdown' | 'dropup' | undefined; | ||
className?: string | undefined; | ||
} | ||
export const SizePerPageDropdownStandalone: React.FC<SizePerPageDropdownStandaloneProps>; | ||
```` | ||
### Additional Details | ||
* Last updated: Fri, 08 May 2020 17:59:14 GMT | ||
* Last updated: Thu, 08 Jul 2021 20:20:28 GMT | ||
* Dependencies: [@types/react-bootstrap-table-next](https://npmjs.com/package/@types/react-bootstrap-table-next) | ||
@@ -14,0 +67,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
6432
0
70