UNPKG

@nodeject/ui-components

Version:

UI library for non-trivial components

25 lines (24 loc) 753 B
import * as React from 'react'; import { Comment } from '../dtos'; export interface EditorContainerProps { hideEditEditor?: () => void; hideReplyEditor?: () => void; getTributeComponent?: any; goToComment?: (id: string) => void; initialValue: string; parentConversation: { id: string; }; user: { id: string; }; comment: Comment; onAddComment: (comment: Comment, callback?: () => void) => void; onEditComment?: (comment: Comment, callback?: () => void) => void; editorType: 'default' | 'reply' | 'edit'; submitting: boolean | { delay?: number; }; tributes?: Array<any>; } export declare const EditorContainer: React.FC<EditorContainerProps>;