Skip to main content

useCmsDocuments

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: React hook
Package: @ovok/native

Import​

import { useCmsDocuments } from '@ovok/native/cms';

TypeScript signatures​

<T extends object = OvokCmsDocument>(collection: string, options?: OvokCmsListOptions): OvokRequestState<OvokCmsPage<T>>
ParameterTypeDetails
collectionstring—
optionsOvokCmsListOptions—

Returns: OvokRequestState<OvokCmsPage<T>>.

Source​

View the declaration in the SDK source.