mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 03:02:04 +08:00
Merge pull request #21889 from mrijke/patch-3
[react-bootstrap-table] Update trClassName signature
This commit is contained in:
2
types/react-bootstrap-table/index.d.ts
vendored
2
types/react-bootstrap-table/index.d.ts
vendored
@@ -217,7 +217,7 @@ export interface BootstrapTableProps extends Props<BootstrapTable> {
|
||||
* return rowIndex % 2 == 0 ? "tr-odd" : "tr-even"; // return a class name.
|
||||
* }
|
||||
*/
|
||||
trClassName?: string | ((rowData: ReadonlyArray<any>, rowIndex: number) => string);
|
||||
trClassName?: string | ((rowData: any, rowIndex: number) => string);
|
||||
/**
|
||||
* Enable row insertion by setting insertRow to true, default is false.
|
||||
* If you enable row insertion, there's a button on the upper left side of table.
|
||||
|
||||
Reference in New Issue
Block a user