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