UNPKG

tdesign-miniprogram

Version:
28 lines (27 loc) 563 B
import { BadgeProps } from '../badge/index'; export interface TdTabBarItemProps { badgeProps?: { type: ObjectConstructor; value?: BadgeProps; }; style?: { type: StringConstructor; value?: string; }; icon?: { type: StringConstructor; value?: string; }; subTabBar?: { type: ArrayConstructor; value?: SubTabBarItem[]; }; value?: { type: null; value?: string | number; }; } export interface SubTabBarItem { value: string; label: string; }