UNPKG

@tra-tech/react-native-kitra

Version:
37 lines (36 loc) 1.18 kB
import React, { Dispatch, ReactNode, SetStateAction } from 'react'; import { SharedValue } from 'react-native-reanimated'; import { StyleProp, TextStyle } from 'react-native'; import { default as PagerViewComponent, PagerViewProps as PWProps } from 'react-native-pager-view'; import type { PagerViewProps } from '../../types'; import type Icon from '../Icons/Icon'; export type TabItemProps = { item: ReactNode; index: number; theme: { [index: string]: string; } | undefined; refPager: React.RefObject<PagerViewComponent>; setSize: Dispatch<SetStateAction<{ height: number; width: number; }>>; slideValue: SharedValue<number>; headerTextColor: { select: string | undefined; default: string | undefined; }; headerTextStyle?: StyleProp<TextStyle>; icons?: React.ReactElement<typeof Icon>[]; selectPage: number; }; declare const _default: React.ForwardRefExoticComponent<PagerViewProps & PWProps & { theme?: { [index: string]: string; } | undefined; } & { typography?: any; } & { children?: React.ReactNode; } & React.RefAttributes<any>>; export default _default;