From 34e87e1bca59853493ea2bc87014d31a3e501f85 Mon Sep 17 00:00:00 2001 From: Ian Ker-Seymer Date: Tue, 26 Jul 2016 15:36:16 -0400 Subject: [PATCH] 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';