14 lines
383 B
TypeScript
14 lines
383 B
TypeScript
import view from "./index.vue";
|
|
import { WebToolkit } from "timi-web";
|
|
import type { NotifyDetail } from "./types";
|
|
|
|
export type { NotifyContentType, NotifyDetail } from "./types";
|
|
|
|
export type NotifyEditorExpose = {
|
|
submit: () => Promise<NotifyDetail>;
|
|
getPendingMediaCount: () => number;
|
|
};
|
|
|
|
export const NotifyEditor = WebToolkit.withInstall(view);
|
|
export default NotifyEditor;
|