Files
timi-tdesign-mobile/src/components/article-editor/index.ts
T

19 lines
409 B
TypeScript

import view from "./index.vue";
import { WebToolkit } from "@timi/web/utils";
import type { Article } from "./types";
export type {
Article,
ArticleContentType,
Attachment,
UploadResult
} from "./types";
export type ArticleEditorExpose = {
submit: () => Promise<Article>;
getPendingMediaCount: () => number;
};
export const ArticleEditor = WebToolkit.withInstall(view);
export default ArticleEditor;