content: import Helmet from 'react-helmet'
  import React from 'react'
  
  import { defaultDescription } from './config'
  
  type Props = {
    title: string,
    ogDescription: string,
    ogUrl: string,
  };
  
  const TitleAndMetaTags = ({title, ogDescription, ogUrl}: Props) => {
    return (
      <Helmet title={title}>
        <meta property="og:title" content={title} />
        <meta property="og:type" content="website" />
        {ogUrl && <meta property="og:url" content={ogUrl} />}
        <meta property="og:image" content="/logo-og.png" />
        <meta
          property="og:description"
          content={ogDescription || defaultDescription}
        />
      </Helmet>
    )
  }
  
  export default TitleAndMetaTags
  