decord/source/modules/video_calls/native/useBottomVoiceControlsSheetWidth.tsx
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

21 lines
745 B
TypeScript

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