oak-general-business/es/components/articleMenu/treeCell/index.d.ts

31 lines
1.1 KiB
TypeScript

import { EntityDict } from "../../../oak-app-domain";
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "articleMenu", false, {
onRemove: () => void;
onUpdateName: (name: string) => Promise<void>;
onChildEditArticleChange: (data: string) => void;
show: "edit" | "doc" | "preview";
getBreadcrumbItemsByParent: (breadcrumbItems: string[]) => void;
breadItems: string[];
drawerOpen: boolean;
changeDrawerOpen: (open: boolean) => void;
selectedArticleId: string;
openArray: string[];
getTopInfo: (data: {
name: string;
date: number;
}) => void;
articleId: string;
articleMenuId: string;
getSideInfo: (data: {
id: string;
name: string;
coverUrl: string;
}) => void;
currentArticle: string;
setCurrentArticle: (id: string) => void;
onMenuViewById: (articleMenuId: string) => void;
setCopyArticleUrl: (id: string) => string;
origin: import("../../../types/Config").CosOrigin | null;
}>) => React.ReactElement;
export default _default;