decord/source/modules/video_calls/native/useBottomVoiceControlsSheetWidth.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

21 lines
745 B
TypeScript

// Module ID: 9641
// Function ID: 9642
// Name: useBottomVoiceControlsSheetWidth
// Dependencies: [9611, 1478, 2]
// Exports: default
// Module 9641 (useBottomVoiceControlsSheetWidth)
import useWindowDimensionsDefault from "useWindowDimensions" /* 1478 */;
import ChannelCallConstants from "ChannelCallConstants" /* 9611 */;
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;
};