1 | import React from 'react';
|
2 | export interface TabBarProps {
|
3 | barTintColor?: string;
|
4 | tintColor?: string;
|
5 | unselectedTintColor?: string;
|
6 |
|
7 | animated?: boolean;
|
8 |
|
9 | swipeable?: boolean;
|
10 |
|
11 | styles?: any;
|
12 | }
|
13 | export declare type TabIcon = React.ReactElement<any> | {
|
14 | uri: string;
|
15 | };
|
16 | export interface TabBarItemProps {
|
17 | badge?: string | number;
|
18 | onPress?: () => void;
|
19 | selected?: boolean;
|
20 | icon?: TabIcon;
|
21 | selectedIcon?: TabIcon;
|
22 | title: string;
|
23 | dot?: boolean;
|
24 | prefixCls?: string;
|
25 | style?: React.CSSProperties;
|
26 | }
|