import React from 'react'; import { StyleProp, ViewStyle, ViewProps } from 'react-native'; import { ButtonProps } from '../buttons/Button'; import { RneFunctionComponent } from '../helpers'; export declare type TabItemProps = ButtonProps & { active?: boolean; variant?: 'primary' | 'default'; }; declare const TabItem: RneFunctionComponent; export declare type TabProps = ViewProps & { value?: number; onChange?: (value: number) => void; disableIndicator?: boolean; indicatorStyle?: StyleProp; variant?: 'primary' | 'default'; }; interface Tab extends RneFunctionComponent { Item: typeof TabItem; } declare const Tab: Tab; export { Tab }; declare const _default: (React.FunctionComponent void; disableIndicator?: boolean; indicatorStyle?: StyleProp; variant?: "primary" | "default"; } & Partial>, "style" | "onLayout" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "nativeID" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "pointerEvents" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "value" | "indicatorStyle" | "onChange" | "variant" | "disableIndicator">> & { Item: React.FunctionComponent React.ReactElement React.Component)>) | (new (props: any) => React.Component)>; titleStyle?: StyleProp; titleProps?: import("..").TextProps; buttonStyle?: StyleProp; type?: "solid" | "clear" | "outline"; loading?: boolean; loadingStyle?: StyleProp; loadingProps?: import("react-native").ActivityIndicatorProps; containerStyle?: StyleProp; icon?: import("../icons/Icon").IconNode; iconContainerStyle?: StyleProp; iconRight?: boolean; linearGradientProps?: object; TouchableComponent?: typeof React.Component; ViewComponent?: typeof React.Component; disabled?: boolean; disabledStyle?: StyleProp; disabledTitleStyle?: StyleProp; raised?: boolean; iconPosition?: "bottom" | "left" | "right" | "top"; } & { active?: boolean; variant?: "primary" | "default"; } & Partial>, "style" | "onLayout" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "raised" | "disabled" | "onPress" | "onLongPress" | "activeOpacity" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "hitSlop" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "hasTVPreferredFocus" | "tvParallaxProperties" | "touchSoundDisabled" | "background" | "useForeground" | "type" | "containerStyle" | "disabledStyle" | "title" | "icon" | "titleStyle" | "loading" | "titleProps" | "buttonStyle" | "loadingStyle" | "loadingProps" | "iconContainerStyle" | "iconRight" | "linearGradientProps" | "TouchableComponent" | "ViewComponent" | "disabledTitleStyle" | "iconPosition" | "active" | "variant">> | React.ForwardRefExoticComponent React.ReactElement React.Component)>) | (new (props: any) => React.Component)>; titleStyle?: StyleProp; titleProps?: import("..").TextProps; buttonStyle?: StyleProp; type?: "solid" | "clear" | "outline"; loading?: boolean; loadingStyle?: StyleProp; loadingProps?: import("react-native").ActivityIndicatorProps; containerStyle?: StyleProp; icon?: import("../icons/Icon").IconNode; iconContainerStyle?: StyleProp; iconRight?: boolean; linearGradientProps?: object; TouchableComponent?: typeof React.Component; ViewComponent?: typeof React.Component; disabled?: boolean; disabledStyle?: StyleProp; disabledTitleStyle?: StyleProp; raised?: boolean; iconPosition?: "bottom" | "left" | "right" | "top"; } & { active?: boolean; variant?: "primary" | "default"; } & Partial>>; }) | (React.ForwardRefExoticComponent void; disableIndicator?: boolean; indicatorStyle?: StyleProp; variant?: "primary" | "default"; } & Partial>> & { Item: React.FunctionComponent React.ReactElement React.Component)>) | (new (props: any) => React.Component)>; titleStyle?: StyleProp; titleProps?: import("..").TextProps; buttonStyle?: StyleProp; type?: "solid" | "clear" | "outline"; loading?: boolean; loadingStyle?: StyleProp; loadingProps?: import("react-native").ActivityIndicatorProps; containerStyle?: StyleProp; icon?: import("../icons/Icon").IconNode; iconContainerStyle?: StyleProp; iconRight?: boolean; linearGradientProps?: object; TouchableComponent?: typeof React.Component; ViewComponent?: typeof React.Component; disabled?: boolean; disabledStyle?: StyleProp; disabledTitleStyle?: StyleProp; raised?: boolean; iconPosition?: "bottom" | "left" | "right" | "top"; } & { active?: boolean; variant?: "primary" | "default"; } & Partial>, "style" | "onLayout" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "raised" | "disabled" | "onPress" | "onLongPress" | "activeOpacity" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "hitSlop" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "hasTVPreferredFocus" | "tvParallaxProperties" | "touchSoundDisabled" | "background" | "useForeground" | "type" | "containerStyle" | "disabledStyle" | "title" | "icon" | "titleStyle" | "loading" | "titleProps" | "buttonStyle" | "loadingStyle" | "loadingProps" | "iconContainerStyle" | "iconRight" | "linearGradientProps" | "TouchableComponent" | "ViewComponent" | "disabledTitleStyle" | "iconPosition" | "active" | "variant">> | React.ForwardRefExoticComponent React.ReactElement React.Component)>) | (new (props: any) => React.Component)>; titleStyle?: StyleProp; titleProps?: import("..").TextProps; buttonStyle?: StyleProp; type?: "solid" | "clear" | "outline"; loading?: boolean; loadingStyle?: StyleProp; loadingProps?: import("react-native").ActivityIndicatorProps; containerStyle?: StyleProp; icon?: import("../icons/Icon").IconNode; iconContainerStyle?: StyleProp; iconRight?: boolean; linearGradientProps?: object; TouchableComponent?: typeof React.Component; ViewComponent?: typeof React.Component; disabled?: boolean; disabledStyle?: StyleProp; disabledTitleStyle?: StyleProp; raised?: boolean; iconPosition?: "bottom" | "left" | "right" | "top"; } & { active?: boolean; variant?: "primary" | "default"; } & Partial>>; }); export default _default;