push
github
1383 of 2712 branches covered (51.0%)
2 of 283 new or added lines in 21 files covered. (0.71%)
13853 of 73988 relevant lines covered (18.72%)
1.87 hits per line
NEW
|
import type { IViewActionKey } from '@teable/core'; |
|
NEW
|
import { useActionListener } from './use-presence'; |
× |
NEW
|
|
× |
NEW
|
export const useViewListener = ( |
× |
NEW
|
viewId: string | undefined,
|
× |
NEW
|
matches: IViewActionKey[], |
× |
NEW
|
cb: () => void
|
× |
NEW
|
) => { |
× |
NEW
|
return useActionListener(viewId, matches, cb);
|
× |
NEW
|
}; |
× |