@prefecthq/prefect-design
Version:
A collection of low-level Vue components.
63 lines (62 loc) • 1.92 kB
TypeScript
import { Icon } from '../../types/icon';
type __VLS_Props = {
showModal?: boolean;
title?: string;
icon?: Icon;
hideCloseButton?: boolean;
autoClose?: boolean;
};
declare var __VLS_11: {
value: import("vue").Ref<boolean>;
isOpen: import("vue").Ref<boolean>;
open: () => void;
close: () => void;
toggle: () => void;
}, __VLS_17: {
value: import("vue").Ref<boolean>;
isOpen: import("vue").Ref<boolean>;
open: () => void;
close: () => void;
toggle: () => void;
}, __VLS_26: {
value: import("vue").Ref<boolean>;
isOpen: import("vue").Ref<boolean>;
open: () => void;
close: () => void;
toggle: () => void;
}, __VLS_28: {
value: import("vue").Ref<boolean>;
isOpen: import("vue").Ref<boolean>;
open: () => void;
close: () => void;
toggle: () => void;
}, __VLS_30: {
value: import("vue").Ref<boolean>;
isOpen: import("vue").Ref<boolean>;
open: () => void;
close: () => void;
toggle: () => void;
};
type __VLS_Slots = {} & {
icon?: (props: typeof __VLS_11) => any;
} & {
title?: (props: typeof __VLS_17) => any;
} & {
default?: (props: typeof __VLS_26) => any;
} & {
actions?: (props: typeof __VLS_28) => any;
} & {
cancel?: (props: typeof __VLS_30) => any;
};
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:showModal": (value: boolean) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:showModal"?: ((value: boolean) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};