import { html } from 'lit'; import { type Ref, ref } from 'lit/directives/ref.js'; import { DeleteIcon, DownloadIcon, DuplicateIcon, } from '../../_common/icons/index.js'; import type { AttachmentBlockModel, AttachmentBlockProps, } from '../attachment-model.js'; import { cloneAttachmentProperties } from '../utils.js'; import { moreMenuStyles } from './styles.js'; export const MoreMenu = ({ ref: moreMenuRef, model, downloadAttachment, abortController, }: { ref?: Ref; model: AttachmentBlockModel; downloadAttachment: (model: AttachmentBlockModel) => Promise | void; abortController: AbortController; }) => { const readonly = model.page.readonly; return html`
${DownloadIcon} ${DuplicateIcon} ${DeleteIcon}
`; };