diff --git a/react-bootstrap-table/index.d.ts b/react-bootstrap-table/index.d.ts index cc902fe4c2..b0b250f8c3 100644 --- a/react-bootstrap-table/index.d.ts +++ b/react-bootstrap-table/index.d.ts @@ -451,7 +451,7 @@ export interface TableHeaderColumnProps extends Props { To customize the column. This callback function should return a String or a React Component. In addition, this function taking two argument: cell and row. */ - dataFormat?: (cell: any, row: any) => string | ReactElement; + dataFormat?: (cell: any, row: any, formatExtraData?: any) => string | ReactElement; /** To to enable search or filter data on formatting. Default is false */