UNPKG

925 BTypeScriptView Raw
1import React, { ReactNode } from 'react';
2import './index.scss';
3declare global {
4 interface Window {
5 [prop: string]: any;
6 }
7}
8interface IProps {
9 id: string | number;
10 isShowHead?: boolean;
11 isOpenReward?: boolean;
12 cooperationHeadName?: string;
13 isShowOperationRecord?: boolean;
14 extendedComponentsData?: Array<ComponentsData>;
15 isShowVisible?: boolean;
16 userAdvanceMode?: boolean;
17 isShowMentionAllBtn?: boolean;
18 isShowMentionBtn?: boolean;
19 isShowEmojyBtn?: boolean;
20 isShowUploadBtn?: boolean;
21 isShowModal?: boolean;
22 operationBtnExternal?: React.ReactElement | React.ReactElement[];
23 translation?: any;
24 isExtendBefor?: boolean;
25 defalutTabName?: string;
26}
27interface ComponentsData {
28 text: string;
29 name: string;
30 components: ReactNode;
31}
32declare const CooperationContent: React.FunctionComponent<IProps>;
33export default CooperationContent;