UNPKG

tav-ui

Version:
55 lines (54 loc) 1.38 kB
import type { ExtractPropTypes } from 'vue'; declare type Nullable<T> = T | null; declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>; export interface BarMapItem { offset: string; scroll: string; scrollSize: string; size: string; key: string; axis: string; client: string; direction: string; } export interface BarMap { vertical: BarMapItem; horizontal: BarMapItem; } export interface ScrollbarType { wrap: ElRef; } export declare const scrollbarProps: { native: { type: BooleanConstructor; default: boolean; }; wrapStyle: { type: (StringConstructor | ArrayConstructor)[]; default: string; }; wrapClass: { type: (StringConstructor | ArrayConstructor)[]; default: string; }; containerClass: { type: (StringConstructor | ArrayConstructor)[]; default: string; }; viewClass: { type: (StringConstructor | ArrayConstructor)[]; default: string; }; viewStyle: { type: (StringConstructor | ArrayConstructor)[]; default: string; }; noresize: BooleanConstructor; tag: { type: StringConstructor; default: string; }; backTopVisibilityHeight: NumberConstructor; }; export declare type ScrollbarProps = ExtractPropTypes<typeof scrollbarProps>; export {};