import React from 'react'; import NextHead from 'next/head'; import { useTranslation } from 'react-i18next'; const defaultOGURL = ''; const defaultOGImage = ''; type Props = { title?: string; description?: string; url?: string; ogImage?: string; }; const Head: React.SFC = ({ title = 'title', description = 'description', url = '', ogImage = '', }: Props) => { const { t } = useTranslation('meta'); return ( {t(title)} ); }; export default Head;