UNPKG

antd-mobile-alita

Version:

基于 React 的移动设计规范实现

26 lines (25 loc) 627 B
import * as React from 'react'; export interface TabBarProps { barTintColor?: string; tintColor?: string; unselectedTintColor?: string; tabBarPosition?: 'top' | 'bottom'; /** default: false */ animated?: boolean; /** default: false */ swipeable?: boolean; } export declare type TabIcon = React.ReactElement<any> | { uri: string; }; export interface TabBarItemProps { badge?: string | number; onPress?: () => void; selected?: boolean; icon?: TabIcon; selectedIcon?: TabIcon; title: string; dot?: boolean; prefixCls?: string; style?: React.CSSProperties; }