oak-general-business/es/components/article/upsert/web.d.ts

26 lines
888 B
TypeScript

import React from "react";
import "@wangeditor/editor/dist/css/style.css";
import { WebComponentProps } from "oak-frontend-base";
import { EntityDict } from "./../../../oak-app-domain";
export default function Render(props: WebComponentProps<EntityDict, 'article', false, {
id: string;
name: string;
editor: any;
content?: string;
html?: string;
origin?: string;
contentTip: boolean;
articleMenuId: string;
oakId: string;
tocPosition: 'none' | 'left' | 'right';
highlightBgColor: string;
scrollId?: string;
}, {
setHtml: (content: string) => void;
setEditor: (editor: any) => void;
check: () => void;
uploadFile: (extraFile: EntityDict['extraFile']['CreateSingle']['data'], file: File) => Promise<string>;
clearContentTip: () => void;
gotoPreview: (content?: string, title?: string) => void;
}>): React.JSX.Element;