KO
|
EN
gitlite โ search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
expo-router-top-tabs
โ 67
Open GitHub โ
experimental
Download README (.md)
Explore Similar Repositories
rn-crypto-wallet
:
๐ณ A crypto wallet built with React Native
custom-tabs-expo
:
cutom tab navigtion in expo router
expo-router-tailwind-demo
:
Demo of using Expo Router with Tailwind in a website bundled using Metro
fzuhelper-app
:
ๅบไบ React Native ่ทจๅนณๅฐๆถๆ็็ฆๅคงๅฉๆๅฎขๆท็ซฏ๏ผๆฏๆฅๆๅก่ถ 30000 ๅๅธ็
dooboo-expo
:
Complete boilerplate for react-native app with expo. Contains typescript, router, test, localization, navigation, hook and etc.
// repository documentation
Was this content helpful?
โ 0
(0 ratings)
Select Rating:
โ
โ
โ
โ
โ
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
expo-router-top-tabs
?
Download (.md)
# @bacons/expo-router-top-tabs Wraps `react-native-collapsible-tab-view` and adds support for [Expo Router](https://expo.github.io/router/docs). ## Add the package to your npm dependencies ``` yarn add @bacons/expo-router-top-tabs react-native-reanimated ``` - Setup Reanimated in the `babel.config.js`. See [here](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation#babel-plugin) for more info. ## Usage Example in Layout Route: ```js // app/(tabs)/_layout.tsx import { Text, View } from "react-native"; import { TopTabs } from "@bacons/expo-router-top-tabs"; export default function CustomLayout() { return ( <TopTabs screenOptions={{}}> <TopTabs.Header> <View pointerEvents="none" style={{}}> <Text>Header</Text> </View> </TopTabs.Header> <TopTabs.Screen name="index" /> </TopTabs> ); } ``` Usage in child routes: ```js // app/(tabs)/index.tsx import { Animated } from "react-native"; import { useScrollProps } from "@bacons/expo-router-top-tabs"; export default function Screen() { const props = useScrollProps(); return <Animated.ScrollView {...props}></Animated.ScrollView>; } ```