tdesign-mobile-vue
Version:
tdesign-mobile-vue
63 lines (62 loc) • 1.92 kB
TypeScript
import { PropType } from 'vue';
declare const _default: {
animation: {
type: PropType<import("@/components").TabAnimation>;
};
bottomLineMode: {
type: PropType<"auto" | "fixed" | "full">;
default: "auto" | "fixed" | "full";
validator(val: "auto" | "fixed" | "full"): boolean;
};
list: {
type: PropType<import("@/components").TdTabPanelProps[]>;
};
middle: {
type: PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>;
};
showBottomLine: {
type: BooleanConstructor;
default: boolean;
};
size: {
type: PropType<"large" | "medium">;
default: "large" | "medium";
validator(val: "large" | "medium"): boolean;
};
spaceEvenly: {
type: BooleanConstructor;
default: boolean;
};
split: {
type: BooleanConstructor;
default: boolean;
};
sticky: BooleanConstructor;
stickyProps: {
type: PropType<import("@/sticky").TdStickyProps>;
};
swipeable: {
type: BooleanConstructor;
default: boolean;
};
theme: {
type: PropType<"card" | "line" | "tag">;
default: "card" | "line" | "tag";
validator(val: "card" | "line" | "tag"): boolean;
};
value: {
type: PropType<import("@/components").TabValue>;
default: import("@/components").TabValue;
};
modelValue: {
type: PropType<import("@/components").TabValue>;
default: import("@/components").TabValue;
};
defaultValue: {
type: PropType<import("@/components").TabValue>;
};
onChange: PropType<(value: import("@/components").TabValue, label: string) => void>;
onClick: PropType<(value: import("@/components").TabValue, label: string) => void>;
onScroll: PropType<(scrollTop: number, isFixed: boolean) => void>;
};
export default _default;