1 | import * as React from 'react';
|
2 | import { StyleProp, ViewStyle } from 'react-native';
|
3 | import type { Route, SceneRendererProps, NavigationState } from './types';
|
4 | export declare type GetTabWidth = (index: number) => number;
|
5 | export declare type Props<T extends Route> = SceneRendererProps & {
|
6 | navigationState: NavigationState<T>;
|
7 | width: string | number;
|
8 | style?: StyleProp<ViewStyle>;
|
9 | getTabWidth: GetTabWidth;
|
10 | };
|
11 | export default class TabBarIndicator<T extends Route> extends React.Component<Props<T>> {
|
12 | componentDidMount(): void;
|
13 | componentDidUpdate(): void;
|
14 | private fadeInIndicator;
|
15 | private isIndicatorShown;
|
16 | private opacity;
|
17 | private getTranslateX;
|
18 | render(): JSX.Element;
|
19 | }
|