Usage with One
In order to use this navigator with One, you need to wrap it with the withLayoutContext
.
import { withLayoutContext } from 'one'
import { createNativeBottomTabNavigator } from 'react-native-bottom-tabs/react-navigation'
const NativeTabsNavigator = createNativeBottomTabNavigator().Navigator
export const NativeTabs = withLayoutContext(
NativeTabsNavigator
)
For props and more information, see the React Navigation integration guide.