1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-13 14:52:22 +04:00
Files
tabler/site/components/SEO.tsx
T
2023-07-18 00:13:56 +02:00

18 lines
439 B
TypeScript

import React from 'react';
import Head from 'next/head';
const SEO = (props) => {
const { title, description, image } = props;
return (
<Head>
<title>{title} | App</title>
<meta name="description" content={description} />
<meta itemProp="name" content={title} />
<meta itemProp="description" content={description} />
<meta itemProp="image" content={image} />
</Head>
);
};
export default SEO;