tsx-schema-markup
Version:
A package for adding schema markup to your tsx page
8 lines (7 loc) • 454 B
TypeScript
import { Review as ReviewSchema, AggregateRating as AggregateRatingSchema } from "schema-dts";
type WithoutType<T, Type extends string> = Omit<T, "@type"> & {
"@type"?: Type;
};
export declare function Review(props: WithoutType<ReviewSchema, "Review">): import("react/jsx-runtime").JSX.Element;
export declare function AggregateRating(props: WithoutType<AggregateRatingSchema, "AggregateRating">): import("react/jsx-runtime").JSX.Element;
export {};