Answers for "i18n react meta description"

1

i18n react meta description

import { useIntl } from 'react-intl';

const DescriptionMeta = () => {
  const { formatMessage: f } = useIntl();

  return (
    <Helmet>
      <meta name="description" content={f({ id: 'meta.description' })} />
    </Helmet>
  );
};
Posted by: Guest on June-19-2020
1

i18n react meta description

import { useIntl } from 'react-intl';

const DescriptionMeta = () => {
  const { formatMessage: f } = useIntl();

  return (
    <Helmet>
      <meta name="description" content={f({ id: 'meta.description' })} />
    </Helmet>
  );
};
Posted by: Guest on June-19-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language