UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

45 lines (44 loc) 1.3 kB
import type { ExtractPropTypes, PropType } from "vue"; import type { UiTypes } from "@various/constants"; export declare const UiTooltipPropsOption: { readonly classExtraName: { readonly type: StringConstructor; }; readonly direction: { readonly type: PropType<UiTypes.direction>; readonly default: "right"; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly trigger: { readonly type: PropType<"click" | "none" | "hover">; readonly default: "hover"; }; readonly content: { readonly type: StringConstructor; }; readonly offset: { readonly type: NumberConstructor; readonly default: 8; }; readonly zIndex: { readonly type: NumberConstructor; readonly default: 66; }; readonly width: { readonly type: NumberConstructor; }; readonly align: { readonly type: PropType<UiTypes.align>; readonly default: "start"; }; }; export type UiTooltipProps = ExtractPropTypes<typeof UiTooltipPropsOption>; export declare const UiTooltipEmits: { "before-enter": () => boolean; "before-leave": () => boolean; "after-enter": () => boolean; "after-leave": () => boolean; };