import React, { FC } from 'react'; import { FAQPage, Question as SchemaQuestion, WithContext } from 'schema-dts'; import { DeferSeoProps } from '../types'; import { Overrides } from '../utils/shared-types'; import { JsonLd } from './jsonld'; /** * The FAQPage JSON LD Component props. * * @public */ export interface FAQJsonLdProps extends DeferSeoProps, Overrides { /** * An array of Question elements which comprise the list of answered questions * that this FAQPage is about. */ questions: Question[]; } /** * The questions and answers for an FAQ Page. * * @public */ export interface Question { /** * The full text of the question. For example, "How long does it take to * process a refund?". */ question: string; /** * The answer to the question. There must be one answer per question. * * @remarks * * The answer may contain HTML content such as links and lists. Valid HTML * tags include:

through

,
,
    ,