From d24ad362efdf16050fafbb039d1b35a0993b617a Mon Sep 17 00:00:00 2001 From: SuperRunt Date: Thu, 22 Feb 2018 08:35:38 -0700 Subject: [PATCH] Added definition for original to RowInfo interface A RowInfo object has the original data passed tothe row for rendering stored in 'original'. This commit adds that to the RowInnfo ingerface. --- types/react-table/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/react-table/index.d.ts b/types/react-table/index.d.ts index 2ab2d2a821..3b2282f745 100644 --- a/types/react-table/index.d.ts +++ b/types/react-table/index.d.ts @@ -624,6 +624,9 @@ export interface RowInfo { /** An array of any expandable sub-rows contained in this row */ subRows: any[]; + + /** Original object passed to row */ + original: any; } export interface FinalState extends TableProps {