8 lines
376 B
TypeScript
8 lines
376 B
TypeScript
// Metro module 8367 (f8368).
|
|
import { BANNER_ASPECT_RATIO } from "../../native/Constants";
|
|
import useWindowDimensions_native from "../../../screen/useWindowDimensions.native";
|
|
export default function useUserProfileBannerHeight(a0) {
|
|
const width = useWindowDimensions_native().width;
|
|
return Math.round((a0 != null ? Math.min(width, a0) : width) / BANNER_ASPECT_RATIO);
|
|
};
|