You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
684 B

import { Animated, StyleProp, ViewStyle } from 'react-native';
import { RneFunctionComponent } from '../helpers';
export interface TabViewProps {
value?: number;
onChange?: (value: number) => any;
animationType?: 'spring' | 'timing';
animationConfig?: Omit<Animated.SpringAnimationConfig & Animated.TimingAnimationConfig, 'toValue'>;
containerStyle?: StyleProp<ViewStyle>;
tabItemContainerStyle?: StyleProp<ViewStyle>;
disableSwipe?: Boolean;
disableTransition?: Boolean;
onSwipeStart?: (dir: 'left' | 'right') => void;
minSwipeRatio?: number;
minSwipeSpeed?: number;
}
export declare const TabViewBase: RneFunctionComponent<TabViewProps>;