UNPKG

635 BTypeScriptView Raw
1import { Animated, ViewProps } from 'react-native';
2import { RneFunctionComponent } from '../helpers';
3declare const TabViewItem: RneFunctionComponent<ViewProps>;
4export declare type TabViewProps = {
5 value?: number;
6 onChange?: (value: number) => any;
7 animationType?: 'spring' | 'timing';
8 animationConfig?: Omit<Animated.SpringAnimationConfig & Animated.TimingAnimationConfig, 'toValue'>;
9};
10declare const TabView: RneFunctionComponent<TabViewProps>;
11interface TabView extends RneFunctionComponent<TabViewProps> {
12 Item: typeof TabViewItem;
13}
14declare const TabViewComponent: TabView;
15export default TabViewComponent;