ckgl/node_modules/vant/es/utils/mount-component.d.ts
2024-12-21 13:52:42 +08:00

15 lines
617 B
TypeScript

import { Component } from 'vue';
export declare function usePopupState(): {
open: (props: Record<string, any>) => void;
close: () => void;
state: {
[x: string]: any;
show: boolean;
};
toggle: (show: boolean) => void;
};
export declare function mountComponent(RootComponent: Component): {
instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any>;
unmount(): void;
};