-
Notifications
You must be signed in to change notification settings - Fork 70
tabViewBottomAccessory() support
#394
hennessyevan
started this conversation in
Ideas
-
iOS 26 supports a new modifier called tabViewBottomAccessory that allows you to attach a view that floats above the tab bar and is aware of whether the tab bar is expanded or collapsed via the TabViewBottomAccessoryPlacement environment variable.
I would love to have this api exposed to react-native-bottom-tabs. We could have the placement be available in context of the Tabs
<Tabs tabViewBottomAccessory={MyAccessoryView}>...</Tabs> function MyAccessoryView() { const placement = useTabViewBottomAccessoryPlacement() return ( <View styles={{ backgroundColor: placement === 'inline' ? 'red' : 'green' }} /> ) }
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Hey @hennessyevan! Any updates on this? Have you found any workaround for how to use the tabViewBottomAccessory now?
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment