UNPKG

1.92 kBTypeScriptView Raw
1export declare const BackTop: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 right: (NumberConstructor | StringConstructor)[];
3 bottom: (NumberConstructor | StringConstructor)[];
4 zIndex: (NumberConstructor | StringConstructor)[];
5 target: import("vue").PropType<import("vue").TeleportProps["to"]>;
6 offset: {
7 type: (NumberConstructor | StringConstructor)[];
8 default: number;
9 };
10 immediate: BooleanConstructor;
11 teleport: {
12 type: import("vue").PropType<import("vue").TeleportProps["to"]>;
13 default: string;
14 };
15}>, () => import("vue/jsx-runtime").JSX.Element | import("vue/jsx-runtime").JSX.Element[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16 right: (NumberConstructor | StringConstructor)[];
17 bottom: (NumberConstructor | StringConstructor)[];
18 zIndex: (NumberConstructor | StringConstructor)[];
19 target: import("vue").PropType<import("vue").TeleportProps["to"]>;
20 offset: {
21 type: (NumberConstructor | StringConstructor)[];
22 default: number;
23 };
24 immediate: BooleanConstructor;
25 teleport: {
26 type: import("vue").PropType<import("vue").TeleportProps["to"]>;
27 default: string;
28 };
29}>> & Readonly<{
30 onClick?: ((...args: any[]) => any) | undefined;
31}>, {
32 offset: string | number;
33 immediate: boolean;
34 teleport: string | import("vue").RendererElement | null | undefined;
35}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
36export default BackTop;
37export { backTopProps } from './BackTop';
38export type { BackTopProps } from './BackTop';
39export type { BackTopThemeVars } from './types';
40declare module 'vue' {
41 interface GlobalComponents {
42 VanBackTop: typeof BackTop;
43 }
44}
45
\No newline at end of file