Skip to content

Commit 123ba38

Browse files
authored
revert table type definitions (#5158)
1 parent 5b2d792 commit 123ba38

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

packages/react-table/src/components/Table/TableTypes.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,29 +29,29 @@ export type OnSort = (
2929
event: React.MouseEvent,
3030
columnIndex: number,
3131
sortByDirection: SortByDirection,
32-
extraData?: IExtraColumnData
32+
extraData: IExtraColumnData
3333
) => void;
3434
export type OnCollapse = (
3535
event: React.MouseEvent,
36-
rowIndex?: number,
37-
isOpen?: boolean,
38-
rowData?: IRowData,
39-
extraData?: IExtraData
36+
rowIndex: number,
37+
isOpen: boolean,
38+
rowData: IRowData,
39+
extraData: IExtraData
4040
) => void;
4141
export type OnExpand = (
4242
event: React.MouseEvent,
43-
rowIndex?: number,
44-
colIndex?: number,
45-
isOpen?: boolean,
46-
rowData?: IRowData,
47-
extraData?: IExtraData
43+
rowIndex: number,
44+
colIndex: number,
45+
isOpen: boolean,
46+
rowData: IRowData,
47+
extraData: IExtraData
4848
) => void;
4949
export type OnSelect = (
5050
event: React.FormEvent<HTMLInputElement>,
51-
isSelected?: boolean,
52-
rowIndex?: number,
53-
rowData?: IRowData,
54-
extraData?: IExtraData
51+
isSelected: boolean,
52+
rowIndex: number,
53+
rowData: IRowData,
54+
extraData: IExtraData
5555
) => void;
5656
export type OnRowEdit = (
5757
event: React.MouseEvent<HTMLButtonElement>,

0 commit comments

Comments
 (0)