UNPKG

@nexusui/components

Version:

These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.

12 lines (11 loc) 520 B
import { ICommentAttachment } from '../../CommentCard'; import { TranslateFuncType } from '../../../util/models'; export declare const prefix = "NexusAttachmentViewer"; export interface IAttachmentViewer { attachments: ICommentAttachment[]; selectedAttachment: ICommentAttachment; onDownload?: (attachment: ICommentAttachment) => Promise<void>; onClose: () => void; t: TranslateFuncType; } export declare const AttachmentViewer: (props: IAttachmentViewer) => import("react/jsx-runtime").JSX.Element;