mount-component.d.ts 525 B

1234567891011121314
  1. import { Component } from 'vue';
  2. export declare function usePopupState(): {
  3. open: (props: Record<string, any>) => void;
  4. close: () => void;
  5. state: {
  6. [x: string]: any;
  7. show: boolean;
  8. };
  9. toggle: (show: boolean) => void;
  10. };
  11. export declare function mountComponent(RootComponent: Component): {
  12. instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  13. unmount(): void;
  14. };