@aplus-frontend/antdv
Version:
Vue basic component library maintained based on ant-design-vue
12 lines (11 loc) • 347 B
TypeScript
import type { Ref } from 'vue';
export interface PortalContextProps {
shouldRender: Ref<boolean>;
inTriggerContext: boolean;
}
export declare const useProvidePortal: (instance: any, config?: {
inTriggerContext: boolean;
}) => void;
export declare const useInjectPortal: () => {
shouldRender: import("vue").ComputedRef<boolean>;
};