Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const HelperContent = props => {
const renderLink = props.linkText && (props.linkHref || props.linkOnClick);
return (
{props.imageSrc && (
<img size="{badgeSizes.MEDIUM}" src="{props.imageSrc}">
)}
<div>
{renderLink && (
</div>
const EmptyCard = ({ noResultsMessage, className }) => (
<img size="{badgeSizes.MEDIUM}" src="{helperSrc}">
);