Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
sharingEnabled,
articleUrl,
articleHeadline,
relatedArticleSlice,
relatedArticlesVisible,
spotAccountId,
topics
}) => {
/* Nativo insert Sponsored Articles after the div#sponsored-article element. They are not able to insert directly into that element hence the container div */
const sponsoredArticles = (
<div id="sponsored-article-container">
<div id="sponsored-article">
</div>
);
return (
<div style="{clearingStyle}">
{(savingEnabled || sharingEnabled) && (
{({ showMessage }) => (
showMessage("Article link copied")}
onSaveToMyArticles={() => {}}
onShareOnEmail={() => {}}
savingEnabled={savingEnabled}
sharingEnabled={sharingEnabled}</div></div>