snowy-designer
Version:
基于Epic-Designer-Pro版本的设计器,可视化开发页面表单
25 lines (22 loc) • 565 B
JavaScript
const n = `interface ComponentPublicInstance {
getAttr: (key: string) => any;
getValue?: () => any;
setAttr: (key: string, value: any) => any;
setValue?: (value: any) => void;
}
interface Epic {
defineExpose: <Exposed extends Record<string, any> = Record<string, any>>(
exposed?: Exposed,
) => void;
find: (id: ComponentId) => ComponentPublicInstance;
getComponent: (id: ComponentId) => ComponentPublicInstance;
global: any;
pluginManager: any;
publicMethods: any;
state: any;
}
declare const epic: Epic;
`;
export {
n as default
};