oak-general-business/es/components/articleMenu/treeManager/web.pc.d.ts

23 lines
813 B
TypeScript

import React from 'react';
import { WebComponentProps } from 'oak-frontend-base';
import { EntityDict } from "../../../oak-app-domain";
export default function Render(props: WebComponentProps<EntityDict, 'articleMenu', true, {
entity: string;
entityId: string;
show: 'edit' | 'doc' | 'preview';
articleMenuId: string;
articleId: string;
tocPosition: 'none' | 'left' | 'right';
highlightBgColor: string;
origin: 'qiniu';
onMenuViewById: (articleMenuId: string) => void;
onArticlePreview: (content?: string, title?: string) => void;
onArticleEdit: (oakId: string) => void;
setCopyArticleUrl: (id: string) => string;
scrollId?: string;
activeColor?: string;
}, {
gotoDoc: () => void;
gotoArticleDetail: (oakId: string) => void;
}>): React.JSX.Element;