mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-19 08:31:17 +08:00
TableHeaderColumnProps.dataFormat 3rd parameter.
Added 3rd parameter in TableHeaderColumnProps.dataFormat field. One can provide additional data to the 'dataFormat' function using 'formatExtraData'.
This commit is contained in:
2
react-bootstrap-table/index.d.ts
vendored
2
react-bootstrap-table/index.d.ts
vendored
@@ -451,7 +451,7 @@ export interface TableHeaderColumnProps extends Props<TableHeaderColumn> {
|
||||
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<any>;
|
||||
dataFormat?: (cell: any, row: any, formatExtraData?: any) => string | ReactElement<any>;
|
||||
/**
|
||||
To to enable search or filter data on formatting. Default is false
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user