O3 Framework / UseServerPaginationOptions
Defined in: packages/framework/esm-react-utils/src/useOpenmrsPagination.ts:13
R
optionalfetcher?: (key) =>Promise<FetchResponse<R>>
Defined in: packages/framework/esm-react-utils/src/useOpenmrsPagination.ts:22
The fetcher to use. Defaults to openmrsFetch
string
Promise<FetchResponse<R>>
optionalimmutable?:boolean
Defined in: packages/framework/esm-react-utils/src/useOpenmrsPagination.ts:17
Whether to use useSWR or useSWRInfinite to fetch data
optionalswrConfig?:SWRConfiguration
Defined in: packages/framework/esm-react-utils/src/useOpenmrsPagination.ts:27
The configuration object for useSWR or useSWRInfinite