UNPKG

tdesign-miniprogram

Version:
56 lines (55 loc) 1.29 kB
import { StickyProps } from '../sticky/index'; export interface TdTabsProps { animation?: { type: ObjectConstructor; value?: TabAnimation; }; bottomLineMode?: { type: StringConstructor; value?: 'fixed' | 'auto' | 'full'; }; externalClasses?: { type: ArrayConstructor; value?: ['t-class', 't-class-item', 't-class-active', 't-class-track']; }; showBottomLine?: { type: BooleanConstructor; value?: boolean; }; spaceEvenly?: { type: BooleanConstructor; value?: boolean; }; split?: { type: BooleanConstructor; value?: boolean; }; sticky?: { type: BooleanConstructor; value?: boolean; }; stickyProps?: { type: ObjectConstructor; value?: StickyProps; }; swipeable?: { type: BooleanConstructor; value?: boolean; }; theme?: { type: StringConstructor; value?: 'line' | 'tag' | 'card'; }; value?: { type: null; value?: TabValue; }; defaultValue?: { type: null; value?: TabValue; }; } export declare type TabAnimation = { duration: number; } & Record<string, any>; export declare type TabValue = string | number;