UNPKG

@docsvision/webclient

Version:

Type definitions for DocsVision WebClient scripts and extensions.

18 lines (17 loc) 652 B
import { CommentModel } from '@docsvision/webclient/BackOffice/CommentModel'; import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models'; export interface ICommentProps { className?: string; data: CommentModel; prevData: CommentModel; currentEmployeeId: string; isShowDate: boolean; canEditSelf: boolean; canEditAll: boolean; commentMaxWidth: string; useHtml?: boolean; innerRef?: (input: HTMLElement) => void; editComment: (comment: GenModels.Comment) => void; deleteComment: (comment: GenModels.Comment) => void; restoreComment: (comment: GenModels.Comment) => void; }