element-plus
Version:
A Component Library for Vue 3
27 lines (26 loc) • 845 B
TypeScript
import type { ExtractPublicPropTypes } from 'vue';
import type Thumb from './thumb.vue';
export interface ThumbProps {
vertical?: boolean;
size?: string;
move?: number;
ratio: number;
always?: boolean;
}
/**
* @deprecated Removed after 3.0.0, Use `ThumbProps` instead.
*/
export declare const thumbProps: {
readonly vertical: BooleanConstructor;
readonly size: StringConstructor;
readonly move: NumberConstructor;
readonly ratio: {
readonly type: import("vue").PropType<number>;
readonly required: true;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly always: BooleanConstructor;
};
export type ThumbPropsPublic = ExtractPublicPropTypes<typeof thumbProps>;
export type ThumbInstance = InstanceType<typeof Thumb> & unknown;