How do I get the tab bar height on the screen component under the tab navigator?
I'm trying to set the margin of the layout to prevent the content go behind the tab bar.
I didn't set any size changes, so all of the sizes are default.
I've tried to use 'useBottomTabBarHeight' from '@react-navigation/bottom-tabs', but it seems the navigation isn't from '@react-navigation/bottom-tabs'.
How do I get the tab bar height on the screen component under the tab navigator? I'm trying to set the margin of the layout to prevent the content go behind the tab bar.
I didn't set any size changes, so all of the sizes are default. I've tried to use 'useBottomTabBarHeight' from '@react-navigation/bottom-tabs', but it seems the navigation isn't from '@react-navigation/bottom-tabs'.