处理列表
This commit is contained in:
@@ -9,12 +9,12 @@ interface IProps {
|
||||
const CustomNavbar = (props: IProps) => {
|
||||
const { children } = props;
|
||||
const { statusNavbarHeightInfo } = useGlobalState();
|
||||
const { totalHeight } = statusNavbarHeightInfo;
|
||||
const { statusBarHeight, navbarHeight } = statusNavbarHeightInfo;
|
||||
|
||||
return (
|
||||
<View
|
||||
className={styles.customerNavbar}
|
||||
style={{ height: `${totalHeight}px` }}
|
||||
style={{ height: `${navbarHeight}px`, paddingTop: `${statusBarHeight}px`, }}
|
||||
>
|
||||
{children}
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user