import { h } from 'preact'; import PropTypes from 'prop-types'; import { Button } from '@crayons'; function linksToMarkdownForm(imageLinks) { return imageLinks.map((imageLink) => `![Alt Text](${imageLink})`).join('\n'); } const CopyIcon = () => ( Copy Markdown for image ); CopyIcon.displayName = 'CopyIcon'; export const ClipboardButton = ({ onCopy, imageUrls, showCopyMessage = false, }) => (