@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
37 lines (36 loc) • 1.15 kB
TypeScript
import { TsxAllowUnknowProperties } from "../TsxAllowUnknowProperties";
import { Comment, OmitProperties, ThemeDefinition } from "../../models";
import { IRichTextEditor } from "../richtexteditor";
import { CommentSorting } from "../../models/Social";
export interface ICommentComponent {
topicId: string;
comments: Array<Comment>;
template?: string;
dynamicInput?: any;
/**Show rich text editor*/
richTextSettings?: OmitProperties<IRichTextEditor, "initialContent" | "onContentChange">;
enableBestReply?: boolean;
canMarkBestReply?: boolean;
sortOrder?: CommentSorting;
allowLikes?: boolean;
cardStyle?: ThemeDefinition;
showMoreSize?: number;
additionalRoles?: Array<string>;
hideEdit?: boolean;
readOnly?: boolean;
hideTotalNumber?: boolean;
contextParams?: {
[key: string]: string | number;
};
}
declare global {
namespace VueTsxSupport.JSX {
interface Element {
}
interface ElementClass {
}
interface IntrinsicElements {
"omfx-comment-component": TsxAllowUnknowProperties<ICommentComponent>;
}
}
}