export const TAB_BAR_HEIGHT = 68;
export const TAB_BAR_BOTTOM_OFFSET = 20;

// 为需要避让底部 TabBar 的页面提供一个统一的底部内边距计算
export const getTabBarBottomPadding = (measuredTabBarHeight?: number) => {
  const height = Math.max(measuredTabBarHeight ?? 0, TAB_BAR_HEIGHT);
  return height + TAB_BAR_BOTTOM_OFFSET;
};


