diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-11-13 12:37:50 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-13 15:36:38 +0100 |
| commit | 599b70cd2390d08ce26ee44174b3f39c6587110c (patch) | |
| tree | 15d967fc142bf632df3dd55df373bfd4e33d2d90 /tests/utils/graphql/index.ts | |
| parent | d7bcd93efcd4f1ae20678d0efa6777cfadc09a4e (diff) | |
refactor(hooks): rewrite usePagination hook
* replace `isLoadingInitialData` with `isLoading` & `isRefreshing`
* rename `fallbackData` prop to `fallback`
* replace `setSize` return with a `loadMore` callback
* add tests
Diffstat (limited to 'tests/utils/graphql/index.ts')
| -rw-r--r-- | tests/utils/graphql/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils/graphql/index.ts b/tests/utils/graphql/index.ts new file mode 100644 index 0000000..42fc81b --- /dev/null +++ b/tests/utils/graphql/index.ts @@ -0,0 +1 @@ +export * from './connections'; |
