From 34e87e1bca59853493ea2bc87014d31a3e501f85 Mon Sep 17 00:00:00 2001 From: Ian Ker-Seymer Date: Tue, 26 Jul 2016 15:36:16 -0400 Subject: [PATCH 1/2] react-bootstrap-table: add cols and rows options to Editable --- react-bootstrap-table/react-bootstrap-table-tests.tsx | 2 +- react-bootstrap-table/react-bootstrap-table.d.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/react-bootstrap-table/react-bootstrap-table-tests.tsx b/react-bootstrap-table/react-bootstrap-table-tests.tsx index 9a22bf9df4..a9ae5908df 100644 --- a/react-bootstrap-table/react-bootstrap-table-tests.tsx +++ b/react-bootstrap-table/react-bootstrap-table-tests.tsx @@ -23,7 +23,7 @@ function priceFormatter(cell: any, row: any) { render( Product ID - Product Name + Product Name Product Price , document.getElementById("app") diff --git a/react-bootstrap-table/react-bootstrap-table.d.ts b/react-bootstrap-table/react-bootstrap-table.d.ts index ef71133841..4b05001a15 100644 --- a/react-bootstrap-table/react-bootstrap-table.d.ts +++ b/react-bootstrap-table/react-bootstrap-table.d.ts @@ -556,6 +556,12 @@ declare module "react-bootstrap-table" { */ options?: any; + + /** + Configuration for the textarea editable type + */ + cols?: number; + rows?: number; } export type FilterType = 'TextFilter' | 'RegexFilter' | 'SelectFilter' | 'NumberFilter' | 'DateFilter' | 'CustomFilter'; From 115b611e67f45d7680074942e3f2d80604b7e7d5 Mon Sep 17 00:00:00 2001 From: Ian Ker-Seymer Date: Tue, 26 Jul 2016 15:39:56 -0400 Subject: [PATCH 2/2] react-bootstrap-table: add ianks to definition authors list --- react-bootstrap-table/react-bootstrap-table.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-bootstrap-table/react-bootstrap-table.d.ts b/react-bootstrap-table/react-bootstrap-table.d.ts index 4b05001a15..59accd8722 100644 --- a/react-bootstrap-table/react-bootstrap-table.d.ts +++ b/react-bootstrap-table/react-bootstrap-table.d.ts @@ -1,6 +1,6 @@ // Type definitions for react-bootstrap-table v2.3.0 // Project: https://github.com/AllenFang/react-bootstrap-table -// Definitions by: Frank Laub , Michael Scharf +// Definitions by: Frank Laub , Michael Scharf , Ian Ker-Seymer // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped ///