jsx import React , { FC } from 'react' ; import { jsx } from '@emotion/core' ; import { Helmet } from 'react-helmet' ; const HtmlTitle = ( { title = '' } ) => title ? ( < Helmet > < title > { title } < /title> < /Helmet>) : (<div / > ) ; export default HtmlTitle ;