decord/source/modules/video_calls/native/useBottomVoiceControlsSheetWidth.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

21 lines
745 B
TypeScript

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