UNPKG

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