Files
timi-tdesign-mobile/src/components/article-editor/index.ts
T
2026-08-28 15:19:31 +08:00

19 lines
402 B
TypeScript

import view from "./index.vue";
import { WebToolkit } from "timi-web";
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;