react-native-hide-tab-bar
Version:
A React Native hook to hide the bottom tab bar on scroll
13 lines (12 loc) • 438 B
TypeScript
import React, { ReactNode } from "react";
import { Animated } from "react-native";
interface TabBarContextType {
tabBarTranslateY: Animated.Value;
slideTabBar: (direction: "up" | "down") => void;
}
export declare const TabBarVisibilityContext: React.Context<TabBarContextType | undefined>;
interface TabBarProviderProps {
children: ReactNode;
}
export declare const BottomTabWrapper: React.FC<TabBarProviderProps>;
export {};