UNPKG

tsx-schema-markup

Version:

A package for adding schema markup to your tsx page

9 lines (8 loc) 565 B
import { FAQPage as FAQPageSchema, Question as QuestionSchema, Answer as AnswerSchema } from "schema-dts"; type WithoutType<T, Type extends string> = Omit<T, "@type"> & { "@type"?: Type; }; export declare function FAQPage(props: WithoutType<FAQPageSchema, "FAQPage">): import("react/jsx-runtime").JSX.Element; export declare function Question(props: WithoutType<QuestionSchema, "Question">): import("react/jsx-runtime").JSX.Element; export declare function Answer(props: WithoutType<AnswerSchema, "Answer">): import("react/jsx-runtime").JSX.Element; export {};