Skip to main content

useContent

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/core

Import​

import { useContent } from '@ovok/core';

TypeScript signatures​

(type: string, language: string, params?: OvokContentQuery): OvokRequestState<OvokContentSearchResponse>
ParameterTypeDetails
typestring—
languagestring—
paramsOvokContentQuery—

Returns: OvokRequestState<OvokContentSearchResponse>.

Learn the workflow​

Continue with React for the workflow context and examples.

Source​

View the declaration in the SDK source.