antd-mobile
Version:
基于 React 的移动设计规范实现
27 lines (26 loc) • 641 B
TypeScript
/// <reference types="react" />
import React from 'react';
export interface TabBarItemProps {
badge?: string | number;
onPress?: () => void;
selected?: boolean;
icon?: any;
selectedIcon?: any;
style?: any;
children: any;
title: string;
tintColor?: string;
unselectedTintColor?: string;
iconStyle?: any;
systemIcon?: any;
renderAsOriginal?: boolean;
styles?: any;
rootPrefixCls?: string;
className?: string;
}
export default class TabBarItem extends React.Component<TabBarItemProps, any> {
static defaultProps: {
onPress(): void;
};
render(): JSX.Element;
}