1 | import * as React from 'react';
|
2 | import { StyleProp, ViewStyle } from 'react-native';
|
3 | import { TabView } from 'react-native-tab-view';
|
4 | import { NavigationTabProp, NavigationMaterialTabOptions, MaterialTabBarOptions } from '../types';
|
5 | declare type Route = {
|
6 | key: string;
|
7 | routeName: string;
|
8 | };
|
9 | declare type Config = {
|
10 | keyboardDismissMode?: 'none' | 'on-drag';
|
11 | swipeEnabled?: boolean;
|
12 | swipeDistanceThreshold?: number;
|
13 | swipeVelocityThreshold?: number;
|
14 | initialLayout?: {
|
15 | width?: number;
|
16 | height?: number;
|
17 | };
|
18 | lazy?: boolean;
|
19 | lazyPlaceholderComponent?: React.ComponentType<{
|
20 | route: Route;
|
21 | }>;
|
22 | pagerComponent?: React.ComponentType<Parameters<React.ComponentProps<typeof TabView>['renderPager']>[0]>;
|
23 | tabBarComponent?: React.ComponentType<any>;
|
24 | tabBarOptions?: MaterialTabBarOptions;
|
25 | tabBarPosition?: 'top' | 'bottom';
|
26 | sceneContainerStyle?: StyleProp<ViewStyle>;
|
27 | style?: StyleProp<ViewStyle>;
|
28 | };
|
29 | declare const _default: (routes: import("react-navigation").NavigationRouteConfigMap<NavigationMaterialTabOptions, NavigationTabProp<import("react-navigation").NavigationRoute<import("react-navigation").NavigationParams>, any>, unknown>, config?: import("react-navigation").CreateNavigatorConfig<Partial<Config>, import("react-navigation").NavigationTabRouterConfig, Partial<NavigationMaterialTabOptions>, NavigationTabProp<import("react-navigation").NavigationRoute<import("react-navigation").NavigationParams>, any>>) => import("react-navigation").NavigationNavigator<any, import("react-navigation").NavigationProp<import("react-navigation").NavigationState>>;
|
30 | export default _default;
|