Files
firecms/website/docs/api/functions/usecollectionfetch.md
2021-06-06 13:36:47 +02:00

814 B

id, title, sidebar_label, sidebar_position, custom_edit_url
id title sidebar_label sidebar_position custom_edit_url
usecollectionfetch Function: useCollectionFetch useCollectionFetch 0 null

useCollectionFetch<S, Key>(__namedParameters): CollectionFetchResult<S, Key>

Type parameters

Name Type
S S: EntitySchema<Key, any, S>
Key Key: string

Parameters

Name Type
__namedParameters CollectionFetchProps<S, Key>

Returns

CollectionFetchResult<S, Key>

Defined in

hooks/useCollectionFetch.tsx:46