Function: useSeo()
Call Signature
useSeo(
format):null|Record<string,any>
Defined in: packages/next/src/data/hooks/useSeo.ts:18
The useSeo hook. Returns the current SEO object
Usage
const seo = useSeo();
Parameters
format
"json"
how to return the seo object. Defaults to 'json'
Returns
null | Record<string, any>
Call Signature
useSeo(
format):null|string
Defined in: packages/next/src/data/hooks/useSeo.ts:19
The useSeo hook. Returns the current SEO object
Usage
const seo = useSeo();
Parameters
format
"html"
how to return the seo object. Defaults to 'json'
Returns
null | string
Call Signature
useSeo():
null|Record<string,any>
Defined in: packages/next/src/data/hooks/useSeo.ts:20
The useSeo hook. Returns the current SEO object
Usage
const seo = useSeo();
Returns
null | Record<string, any>