comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
34 lines (32 loc) • 1 kB
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
import { Placement } from '@floating-ui/vue';
export declare const popoverProps: {
readonly visible: {
readonly type: BooleanConstructor;
readonly default: any;
};
readonly trigger: {
readonly type: PropType<"click" | "hover" | "contextmenu">;
readonly default: "hover";
};
readonly placement: {
readonly type: PropType<Placement>;
readonly default: "bottom";
};
readonly title: StringConstructor;
readonly content: StringConstructor;
readonly width: {
readonly type: NumberConstructor;
readonly default: 150;
};
readonly offset: {
readonly type: NumberConstructor;
readonly default: 10;
};
readonly effect: {
readonly type: PropType<"light" | "dark">;
readonly default: "light";
};
readonly popperClass: StringConstructor;
};
export type PopoverProps = ExtractPropTypes<typeof popoverProps>;