@livetiles/reach-plugin-types 0.5.0-preview.600 → 0.5.0-preview.602
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +5 -5
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10880,7 +10880,7 @@ declare module "libs/reach/feature/content/src/reach-2/comments/CommentEditor" {
|
|
|
10880
10880
|
import { FC } from 'react';
|
|
10881
10881
|
import { Comment } from "libs/reach/util/common/src/index";
|
|
10882
10882
|
interface BaseCommentEditorProps {
|
|
10883
|
-
onSave: (newContent: string
|
|
10883
|
+
onSave: (newContent: string) => Promise<void>;
|
|
10884
10884
|
onCancel?: () => void;
|
|
10885
10885
|
comment?: Comment;
|
|
10886
10886
|
isReadOnly?: boolean;
|
|
@@ -10897,15 +10897,15 @@ declare module "libs/reach/feature/content/src/reach-2/comments/CommentEditor" {
|
|
|
10897
10897
|
triggerButton?: JSX.Element | HTMLButtonElement;
|
|
10898
10898
|
}>;
|
|
10899
10899
|
}
|
|
10900
|
-
declare module "libs/reach/feature/content/src/reach-2/comments/
|
|
10900
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/CommentCreator" {
|
|
10901
10901
|
import { FC } from 'react';
|
|
10902
10902
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
10903
|
-
export const
|
|
10903
|
+
export const CommentCreator: FC<{
|
|
10904
10904
|
parentItemId: string;
|
|
10905
10905
|
scope: ConversationScope;
|
|
10906
|
-
onCommentAdded
|
|
10906
|
+
onCommentAdded: (newComment: Comment) => Promise<void>;
|
|
10907
10907
|
onToggleEditor?: (showEditor: boolean) => void;
|
|
10908
|
-
|
|
10908
|
+
alwaysShowCommentEditor?: boolean;
|
|
10909
10909
|
isMobile?: boolean;
|
|
10910
10910
|
className?: string;
|
|
10911
10911
|
}>;
|