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

${title}

`;