From ae43db1d4e889678f18748fc1d13caa9901534fd Mon Sep 17 00:00:00 2001 From: Ian Ker-Seymer Date: Fri, 30 Sep 2016 08:20:50 -0400 Subject: [PATCH] react-bootstrap-table: add ignoreSinglePage option (#11581) As shown in the [docs](http://allenfang.github.io/react-bootstrap-table/docs.html) ``` ignoreSinglePage : Bool Enable to ignore the pagination if only one page, default is false. ``` --- react-bootstrap-table/react-bootstrap-table-tests.tsx | 2 +- react-bootstrap-table/react-bootstrap-table.d.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/react-bootstrap-table/react-bootstrap-table-tests.tsx b/react-bootstrap-table/react-bootstrap-table-tests.tsx index a9ae5908df..7ab96048fe 100644 --- a/react-bootstrap-table/react-bootstrap-table-tests.tsx +++ b/react-bootstrap-table/react-bootstrap-table-tests.tsx @@ -21,7 +21,7 @@ function priceFormatter(cell: any, row: any) { } render( - + Product ID Product Name Product Price diff --git a/react-bootstrap-table/react-bootstrap-table.d.ts b/react-bootstrap-table/react-bootstrap-table.d.ts index 59accd8722..f21e205bcb 100644 --- a/react-bootstrap-table/react-bootstrap-table.d.ts +++ b/react-bootstrap-table/react-bootstrap-table.d.ts @@ -125,6 +125,7 @@ declare module "react-bootstrap-table" { containerStyle?: any; headerStyle?: any; bodyStyle?: any; + ignoreSinglePage?: boolean; }