Files
2024-11-23 09:13:15 +01:00

12 lines
299 B
TypeScript

import Head from 'next/head';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export const SchemaOrg = ({ schema }: Record<string, any>) => (
<Head>
<script
type='application/ld+json'
dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }}
/>
</Head>
);