import { url } from '../../types/url'; import './image-anchor.scss'; export const ImageAnchorFactory = ( svg: string, title: string, { shouldDownload = false }: { shouldDownload?: boolean } = {} ) => (href: url) => ` ${svg} ${title} `;