Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
21 lines
745 B
TypeScript
21 lines
745 B
TypeScript
// Module ID: 9530
|
|
// Function ID: 9531
|
|
// Name: useBottomVoiceControlsSheetWidth
|
|
// Dependencies: [9500, 1477, 2]
|
|
// Exports: default
|
|
|
|
// Module 9530 (useBottomVoiceControlsSheetWidth)
|
|
import useWindowDimensionsDefault from "useWindowDimensions" /* 1477 */;
|
|
import ChannelCallConstants from "ChannelCallConstants" /* 9500 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
({ BOX_MODE_ACTIONSHEET_WIDTH: c2, BOX_MODE_THRESHOLD_WIDTH: c3 } = ChannelCallConstants);
|
|
const result = size.fileFinishedImporting("modules/video_calls/native/useBottomVoiceControlsSheetWidth.tsx");
|
|
|
|
export default function useBottomVoiceControlsSheetWidth() {
|
|
let width = useWindowDimensionsDefault().width;
|
|
if (width > React3) {
|
|
width = React2;
|
|
}
|
|
return width;
|
|
};
|