mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-12-12 03:02:50 +00:00
21 lines
511 B
TypeScript
21 lines
511 B
TypeScript
import { h } from 'vue-demi';
|
|
|
|
import type { MComponent } from '@tmagic/core';
|
|
|
|
export * from './hooks/use-editor-dsl';
|
|
export * from './hooks/use-dsl';
|
|
export * from './hooks/use-app';
|
|
export { useComponent } from './hooks/use-component';
|
|
|
|
export interface userRenderFunctionOptions {
|
|
h: typeof h;
|
|
type: Parameters<typeof h>[0];
|
|
props: any;
|
|
attrs: any;
|
|
className: string | string[];
|
|
style: any;
|
|
config: MComponent;
|
|
}
|
|
|
|
export type UserRenderFunction = (options: userRenderFunctionOptions) => any;
|