MetadataXAPI Reference
MetadataXAPI Reference
JsonLd
Render application/ld+json script tags.
Renders one or multiple application/ld+json script tags.
import { JsonLd } from "@avenra/metadatax";
export function ArticleLd() {
return (
<JsonLd
data={{
"@type": "Article",
headline: "My First Post",
}}
/>
);
}Prop
Type