import React from 'react' ; import Helmet from 'react-helmet' ; type Props = { title ? : string ; metaDescription : string ; } ; const separator = '·' ; export function SEO ( { title = '' , metaDescription , } ) { return ( < Helmet > < title > { title && `${ title } ${ separator } ` } Example Site - tagline < /title> { } < meta property = "og:description" name = "description" content = { metaDescription } / > { } { } { } { } { } { } < meta property = "og:title" content = { title } / > { } { } { } { } { } { } { } < /Helmet>); }