File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ export interface EntitiesTableProps<
99
99
onLastClick ?: ( ) => void ;
100
100
onNextClick ?: ( ) => void ;
101
101
onPreviousClick ?: ( ) => void ;
102
+ onSortChange ?: ( sortBy : string ) => void ;
102
103
}
103
104
104
105
const UpdatingStripedTable = styled ( StripedTable ) < { $isUpdating : boolean } > `
@@ -149,6 +150,7 @@ function EntitiesTable<
149
150
sortBy : currentSortBy ,
150
151
sortDir : currentSortDir ,
151
152
toggleDetailsIcon = isDefined ( RowDetailsComponent ) ,
153
+ onSortChange,
152
154
...props
153
155
} : EntitiesTableProps <
154
156
TEntity ,
@@ -275,6 +277,7 @@ function EntitiesTable<
275
277
< HeaderComponent
276
278
currentSortBy = { currentSortBy }
277
279
currentSortDir = { currentSortDir }
280
+ onSortChange = { onSortChange }
278
281
{ ...( props as unknown as THeaderProps ) }
279
282
/>
280
283
) ;
You can’t perform that action at this time.
0 commit comments