t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
50 lines (49 loc) • 1.62 kB
TypeScript
import type { PropType, ExtractPropTypes } from 'vue';
import type { BackTopBehaviorType } from './interface';
export declare const Props: {
readonly round: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly behavior: {
readonly type: PropType<BackTopBehaviorType>;
readonly default: () => BackTopBehaviorType;
readonly validator: (val: BackTopBehaviorType) => boolean;
};
readonly visibleHeight: {
readonly type: NumberConstructor;
readonly default: () => number;
readonly validator: (val: number) => boolean;
};
readonly right: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly bottom: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly zIndex: {
readonly type: NumberConstructor;
readonly default: () => number;
readonly validator: (val: number) => boolean;
};
readonly top: {
readonly type: NumberConstructor;
readonly default: () => number;
readonly validator: (val: number) => boolean;
};
readonly listenEl: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly background: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
};
export declare type BackTopPropsType = ExtractPropTypes<typeof Props>;