@ehfuse/taskbox 0.5.102 → 0.5.104
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.
|
@@ -15,9 +15,11 @@ export interface TaskCommentsSectionProps {
|
|
|
15
15
|
onUpdate: (taskSeq: number, index: number, text: string) => void;
|
|
16
16
|
onRemove: (taskSeq: number, index: number) => void;
|
|
17
17
|
onToggleReaction?: (taskSeq: number, index: number, kind: TaskBoxCommentReactionKind) => void;
|
|
18
|
+
onPreview?: (attachment: TaskBoxAttachment) => void;
|
|
19
|
+
onDownload?: (attachment: TaskBoxAttachment) => void;
|
|
18
20
|
}
|
|
19
21
|
/** 댓글 섹션 컴포넌트다(목록 전용 — 입력은 드로어 하단 고정 바 TaskCommentInput). */
|
|
20
|
-
export declare function TaskCommentsSection({ taskSeq, comments, currentUserName, myAccountSeq, avatarSrcByName, onUpdate, onRemove, onToggleReaction, }: TaskCommentsSectionProps): import("react").JSX.Element;
|
|
22
|
+
export declare function TaskCommentsSection({ taskSeq, comments, currentUserName, myAccountSeq, avatarSrcByName, onUpdate, onRemove, onToggleReaction, onPreview, onDownload, }: TaskCommentsSectionProps): import("react").JSX.Element;
|
|
21
23
|
/** 하단 고정 댓글 입력 props 다. */
|
|
22
24
|
export interface TaskCommentInputProps {
|
|
23
25
|
onSubmit: (text: string, attachments?: TaskBoxAttachment[]) => void;
|
package/package.json
CHANGED