y-design-ssr
Version:
SSR component library of YUI with Vue3
58 lines (57 loc) • 1.36 kB
TypeScript
import { CSSProperties, ExtractPropTypes, PropType } from 'vue';
import { TooltipPosition } from '../../utils/types';
export declare const tooltipProps: {
modelValue: {
type: BooleanConstructor;
default: boolean;
};
manual: {
type: BooleanConstructor;
default: boolean;
};
text: {
type: StringConstructor;
default: string;
};
color: {
type: StringConstructor;
default: string;
};
bgColor: {
type: StringConstructor;
default: string;
};
teleport: {
type: StringConstructor;
default: string;
};
width: {
type: (StringConstructor | NumberConstructor)[];
default: string;
};
minWidth: {
type: (StringConstructor | NumberConstructor)[];
default: string;
};
popperClass: {
type: StringConstructor;
default: string;
};
popperStyle: {
type: PropType<CSSProperties>;
default: {};
};
autoFlipping: {
type: BooleanConstructor;
default: boolean;
};
position: {
type: PropType<TooltipPosition>;
default: TooltipPosition;
};
marginToEdge: {
type: NumberConstructor;
default: number;
};
};
export type TooltipPropsType = ExtractPropTypes<typeof tooltipProps>;