Derk-Jan Karrenbeld
Derk-Jan Karrenbeld
@ErikSchierboom or @iHiD will reach out when they're back and investigate the error. Hold on tight!
In order to use the `expo-router` provided `Tabs`, you can use `BottomNavigation.Bar` like so: ```tsx import { Tabs } from "expo-router"; import { CommonActions } from "@react-navigation/core"; import { PropsWithChildren...
As in use the integrated react router appbar? I never use that hence the header shown false 🤝😁
Ah yeah sorry, I don't use that Header. Always mount it myself in the screen ;)
You need to add at least one child (a tab).
It looks like you're not importing `Tabs` from the new file: ```tsx import { MaterialBottomTabs as Tabs } from "[...]"; ``` This should replace whatever other `Tabs` import you previously...
That looks right. Can you update the file you import to: ```tsx export type MaterialBottomTabsProps = PropsWithChildren< Omit< BottomNavigationProps, | "navigationState" | "safeAreaInsets" | "onTabPress" | "renderIcon" | "getLabelText" |...
I cannot reproduce that, as `children` is supposed to be supplied by `PropsWithChildren` and should be `{ children?: React.ReactNode | undefined; }`, which is definitely not `{ children: Element }`....
There's two PR open to address that. One of them has a patch package fix you can apply today: https://github.com/callstack/react-native-paper/pull/4494#discussion_r1893017286
See https://github.com/expo/expo/issues/33985#issuecomment-2599458006 for temporary workaround