Skip to content

Commit 410e1b1

Browse files
committed
[tools] Missing useRowCountListener
1 parent b260ae9 commit 410e1b1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/tools/api/react.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,19 @@ export const getStoreUiReactApi = (
10101010
getListenerHookParamsInCall('tableId'),
10111011
);
10121012

1013+
// useRowCountListener
1014+
addProxyHook(
1015+
ROW + COUNT + LISTENER,
1016+
ROW + COUNT + LISTENER,
1017+
VOID,
1018+
getListenerDoc(15, 3),
1019+
getListenerHookParams(
1020+
rowCountListenerType,
1021+
`tableId: ${tableIdType} | null`,
1022+
),
1023+
getListenerHookParamsInCall('tableId'),
1024+
);
1025+
10131026
// useRowIdsListener
10141027
addProxyHook(
10151028
ROW_IDS + LISTENER,

0 commit comments

Comments
 (0)