UNPKG

@omnia/fx

Version:

Provide Omnia Fx typings and tooling for clientside Omnia development.

13 lines (12 loc) 451 B
import { Comment, CommentLikeTemplateSettings, ResolvedUserIdentity } from "../../../models"; export interface ICommentTemplate<T> { comment: Comment; currentUser: ResolvedUserIdentity; openReply: (commentToReplyOn: Comment) => void; refresh: (addedComment: boolean) => void; dynamicInput: T; templateSettings: CommentLikeTemplateSettings; additionalRoles?: Array<string>; hideEdit?: boolean; readOnly?: boolean; }