@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.
14 lines (13 loc) • 651 B
TypeScript
import { StackProps } from '@mui/material/Stack';
import { ICommentAttachment } from '../../CommentCard';
import { TranslateFuncType } from '../../../util/models';
export declare const prefix = "NexusAttachmentGroup";
export interface IAttachmentGroup extends StackProps {
editable?: boolean;
attachments?: ReadonlyArray<ICommentAttachment>;
onAttachmentsChange?: (attachments: ICommentAttachment[]) => void;
onDownload?: (attachment: ICommentAttachment) => Promise<void>;
clientWidth?: number;
t: TranslateFuncType;
}
export declare const AttachmentGroup: (props: IAttachmentGroup) => import("react/jsx-runtime").JSX.Element;