1 | import * as React from 'react';
|
2 | import { NavigationRoute } from 'react-navigation';
|
3 | import { MaterialTabBarProps } from '../types';
|
4 | declare type Scene = {
|
5 | route: NavigationRoute;
|
6 | focused: boolean;
|
7 | color: string;
|
8 | };
|
9 | export default class TabBarTop extends React.PureComponent<MaterialTabBarProps> {
|
10 | static defaultProps: {
|
11 | activeTintColor: string;
|
12 | inactiveTintColor: string;
|
13 | showIcon: boolean;
|
14 | showLabel: boolean;
|
15 | upperCaseLabel: boolean;
|
16 | allowFontScaling: boolean;
|
17 | };
|
18 | _renderLabel: ({ route, focused, color }: Scene) => string | JSX.Element | null | undefined;
|
19 | _renderIcon: ({ route, focused, color }: Scene) => JSX.Element | null;
|
20 | render(): JSX.Element;
|
21 | }
|
22 | export {};
|