UNPKG

2.61 kBTypeScriptView Raw
1import { PropType } from 'vue';
2declare const TabBar: import("vue").DefineComponent<{
3 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
4 default: string;
5 };
6 centered: import("vue-types").VueTypeValidableDef<boolean> & {
7 default: boolean;
8 };
9 tabBarStyle: import("vue-types").VueTypeValidableDef<import("vue").CSSProperties>;
10 tabBarExtraContent: import("vue-types").VueTypeValidableDef<import("../_util/type").VueNode>;
11 type: import("vue-types").VueTypeDef<"line" | "card" | "editable-card">;
12 tabPosition: import("vue-types").VueTypeDef<"bottom" | "left" | "right" | "top"> & {
13 default: "bottom" | "left" | "right" | "top";
14 };
15 tabBarPosition: import("vue-types").VueTypeDef<"bottom" | "left" | "right" | "top">;
16 size: import("vue-types").VueTypeDef<"default" | "small" | "large">;
17 animated: {
18 type: PropType<boolean | {
19 inkBar: boolean;
20 tabPane: boolean;
21 }>;
22 default: any;
23 };
24 renderTabBar: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
25 default: (...args: any[]) => any;
26 };
27 panels: import("vue-types").VueTypeValidableDef<unknown[]> & {
28 default: () => unknown[];
29 } & {
30 default: () => unknown[];
31 };
32 activeKey: import("vue-types").VueTypeDef<import("../_util/type").Key>;
33 tabBarGutter: import("vue-types").VueTypeValidableDef<number> & {
34 default: number;
35 };
36}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
37 prefixCls: string;
38 animated: boolean | {
39 inkBar: boolean;
40 tabPane: boolean;
41 };
42 centered: boolean;
43 tabPosition: "bottom" | "left" | "right" | "top";
44 renderTabBar: (...args: any[]) => any;
45 panels: unknown[];
46 tabBarGutter: number;
47} & {
48 size?: "default" | "small" | "large";
49 type?: "line" | "card" | "editable-card";
50 activeKey?: import("../_util/type").Key;
51 tabBarStyle?: import("vue").CSSProperties;
52 tabBarExtraContent?: import("../_util/type").VueNode;
53 tabBarPosition?: "bottom" | "left" | "right" | "top";
54}>, {
55 prefixCls: string;
56 animated: boolean | {
57 inkBar: boolean;
58 tabPane: boolean;
59 };
60 centered: boolean;
61 tabPosition: "bottom" | "left" | "right" | "top";
62 renderTabBar: (...args: any[]) => any;
63 panels: unknown[];
64 tabBarGutter: number;
65}>;
66export default TabBar;