tdesign-mobile-vue
Version:
tdesign-mobile-vue
34 lines (33 loc) • 918 B
TypeScript
import { TdBackTopProps } from './type';
import { PropType } from 'vue';
declare const _default: {
container: {
type: PropType<() => HTMLElement>;
};
fixed: {
type: BooleanConstructor;
default: boolean;
};
icon: {
type: PropType<boolean | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>;
default: boolean;
};
target: {
type: PropType<() => HTMLElement>;
};
text: {
type: StringConstructor;
default: string;
};
theme: {
type: PropType<"round" | "half-round" | "round-dark" | "half-round-dark">;
default: "round" | "half-round" | "round-dark" | "half-round-dark";
validator(val: TdBackTopProps['theme']): boolean;
};
visibilityHeight: {
type: NumberConstructor;
default: number;
};
onToTop: PropType<() => void>;
};
export default _default;