@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.
15 lines (14 loc) • 632 B
TypeScript
import { BoxProps } from '@mui/material/Box';
import { ICommentAttachment } from '../../CommentCard';
export declare const prefix = "NexusAttachmentThumbnail";
export interface IAttachmentThumbnail extends BoxProps {
attachment: ICommentAttachment;
editable?: boolean;
selected?: boolean;
overflowCount?: number;
noPreview?: boolean;
onThumbnailClick?: (attachment: ICommentAttachment) => void;
onThumbnailCancel?: (attachment: ICommentAttachment) => void;
skeletonHeight?: number;
}
export declare const AttachmentThumbnail: (props: IAttachmentThumbnail) => import("react/jsx-runtime").JSX.Element;