antd-mobile
Version:
基于 React 的移动设计规范实现
24 lines (23 loc) • 540 B
TypeScript
/// <reference types="react" />
import React from 'react';
export interface TabBarProps {
barTintColor?: string;
tintColor?: string;
unselectedTintColor?: string;
children: any;
prefixCls?: string;
className?: string;
hidden?: boolean;
placeholder?: React.ReactNode;
/** rn android only**/
styles?: any;
}
export interface TabBarItemProps {
badge?: string | number;
onPress?: () => void;
selected?: boolean;
icon?: any;
selectedIcon?: any;
title: string;
dot?: boolean;
}