JsonLdForFaq Reference
The JsonLdForFaq component renders FAQ JSON-LD structured data in a script tag.
The JsonLdForFaq component accepts the following props:
faqs (required)
Section titled “faqs (required)”type: Array<{ question: string; answer: string }>
An array of FAQ items. Each item must have:
- question (
string): The question text - answer (
string): The answer text
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.