UNPKG

tdesign-miniprogram

Version:
52 lines (51 loc) 1.15 kB
import { StickyProps } from '../sticky/index'; export interface TdTabsProps { animation?: { type: ObjectConstructor; value?: TabAnimation; }; bottomLineMode?: { type: StringConstructor; value?: 'fixed' | 'auto' | 'full'; }; 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;