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