context.d.ts 347 B

1234567891011
  1. import type { Ref } from 'vue';
  2. export interface PortalContextProps {
  3. shouldRender: Ref<boolean>;
  4. inTriggerContext: boolean;
  5. }
  6. export declare const useProvidePortal: (instance: any, config?: {
  7. inTriggerContext: boolean;
  8. }) => void;
  9. export declare const useInjectPortal: () => {
  10. shouldRender: import("vue").ComputedRef<boolean>;
  11. };