UNPKG

721 BTypeScriptView Raw
1import * as React from 'react';
2declare type IdType = string | number;
3interface IProps {
4 apiPath: string;
5 tenantId: IdType;
6 onAddComment: (obj: any) => void;
7 userId: IdType;
8 operationBtnExternal?: React.ReactElement | React.ReactElement[];
9 userAdvanceMode?: boolean;
10 isShowMentionAllBtn?: boolean;
11 isShowMentionBtn?: boolean;
12 isShowEmojyBtn?: boolean;
13 isShowRewardBtn?: boolean;
14 isShowVisible?: boolean;
15 isShowUploadBtn?: boolean;
16 isShowModal?: boolean;
17 getTextRef?: (ref: HTMLTextAreaElement) => void;
18 feedId?: string | number;
19 translation?: any;
20}
21declare const CommentorCooperation: React.FunctionComponent<IProps>;
22export default CommentorCooperation;