= ({
className = '',
to,
...props
}) => {
const intl = useIntl();
const linkName = intl.formatMessage({
defaultMessage: 'Back to top',
description: 'BackToTop: link text',
id: 'm+SUSR',
});
const btnClass = `${styles.wrapper} ${className}`;
const anchor = `#${to}`;
return (
{/* eslint-disable-next-line react/jsx-no-literals -- Config allowed */}
);
};