react-native-tab-view
Version:
Tab view component for React Native
23 lines (22 loc) • 629 B
TypeScript
import * as React from 'react';
import { NavigationState } from 'react-native-tab-view';
declare type Route = {
key: string;
icon: string;
color: [number, number, number];
};
declare type State = NavigationState<Route>;
export default class CustomIndicatorExample extends React.Component<{}, State> {
static title: string;
static backgroundColor: string;
static appbarElevation: number;
state: State;
private handleIndexChange;
private renderIndicator;
private renderIcon;
private renderBadge;
private renderTabBar;
private renderScene;
render(): JSX.Element;
}
export {};