decord/source/modules/video_calls/native/useBottomVoiceControlsSheetWidth.tsx
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

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;
};