Files
manolia-alpha/node_modules/buetify/lib/composables/popupController/providePopupController.d.ts
Robin COuret e0e50af706 init component
2026-02-16 17:28:37 +01:00

15 lines
613 B
TypeScript
Executable File

import { IO } from 'fp-ts/lib/IO';
import { VNode } from 'vue';
import { Transition } from '../../types/Transition';
import { Remove } from '../shared';
export declare const POPUP_CONTROLLER_SYMBOL: unique symbol;
export interface ShowPopupOptions {
render: IO<VNode[]>;
transition?: Transition;
}
export interface PopupControllerInjection {
showPopup: (options: ShowPopupOptions) => Remove;
}
export declare const DEFAULT_POPUP_CONTROLLER_INJECTION: PopupControllerInjection;
export declare function providePopupController(showPopup: (options: ShowPopupOptions) => Remove): PopupControllerInjection;