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.

20 lines (19 loc) 833 B
import { BoxProps } from '@mui/material/Box'; import { ICommentAttachment } from '../CommentCard'; import { IRichTextConfig } from './CommentRichTextInput'; export interface ICommentRichTextBlock extends Omit<BoxProps, 'children'> { data: string; attachments?: ReadonlyArray<ICommentAttachment>; replies?: number; tags?: ReadonlyArray<string>; metadata?: Record<string, any>; tagging?: boolean; onTagCancel?: () => void; onSave?: (data: string, attachments?: ICommentAttachment[], tags?: string[], metadata?: Record<string, any>) => void; maxLines?: number; highlight?: string; selected?: boolean; richTextConfig?: IRichTextConfig; onLayoutChange?: () => void; } export declare const CommentRichTextBlock: (props: ICommentRichTextBlock) => import("react/jsx-runtime").JSX.Element;