Function: useCollectionFetch()
useCollectionFetch<
M
,USER
>(__namedParameters
):CollectionFetchResult
<M
>
This hook is used to fetch collections using a given collection
Type Parameters​
• M extends Record
<string
, any
>
• USER extends User
Parameters​
• __namedParameters: CollectionFetchProps
<M
>
Returns​
Defined in​
packages/firecms_core/src/hooks/data/useCollectionFetch.tsx:63