@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
20 lines (19 loc) • 701 B
TypeScript
import React from 'react';
import { TabBarProps } from './PropsType';
import TabBarStyles, { TabBarStyle } from './style/index';
import TabBarItem from './TabBarItem';
export interface TabBarNativeProps extends TabBarProps {
styles?: TabBarStyle;
children: React.ReactElement<TabBarItem>[] | React.ReactElement<TabBarItem>;
}
declare class TabBar extends React.Component<TabBarNativeProps, any> {
static defaultProps: {
barTintColor: string;
tintColor: string;
unselectedTintColor: string;
};
static Item: typeof TabBarItem;
getPanes(styles: ReturnType<typeof TabBarStyles>, content: boolean): any[];
render(): JSX.Element;
}
export default TabBar;