JsonLdScript Reference
The JsonLdScript component renders any JSON-LD structured data in a script tag.
The JsonLdScript component accepts the following props:
jsonLd (required)
Section titled “jsonLd (required)”type: T (generic object type, defaults to Record<string, unknown>)
The JSON-LD structured data object to be rendered. This should be a valid JSON-LD object following the schema.org specification.
scriptId
Section titled “scriptId”type: string
A custom ID for the script tag.
scriptKey
Section titled “scriptKey”type: string
A custom React key for the script element.