UNPKG

tdesign-miniprogram

Version:
48 lines (47 loc) 1.11 kB
import { StickyProps } from '../sticky/index'; export interface TdTabsProps { animation?: { type: ObjectConstructor; value?: TabAnimation; }; 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; }; 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;