Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
24 lines
814 B
JavaScript
24 lines
814 B
JavaScript
// Module ID: 6942
|
|
// Function ID: 6943
|
|
// Dependencies: [19, 6733]
|
|
// Exports: useBottomSheetContentSizeSetter
|
|
|
|
// Module 6942
|
|
import _mod19 from "module_19" /* 19 */;
|
|
import _mod6733 from "module_6733" /* 6733 */;
|
|
|
|
_mod19.useCallback;
|
|
|
|
export const useBottomSheetContentSizeSetter = function useBottomSheetContentSizeSetter() {
|
|
const bottomSheetInternal = _mod6733.useBottomSheetInternal();
|
|
const enableDynamicSizing = bottomSheetInternal.enableDynamicSizing;
|
|
const animatedContentHeight = bottomSheetInternal.animatedContentHeight;
|
|
const obj2 = { setContentSize: null };
|
|
const items = [enableDynamicSizing, animatedContentHeight];
|
|
obj2.setContentSize = useCallback((arg0) => {
|
|
if (enableDynamicSizing) {
|
|
const result = animatedContentHeight.set(arg0);
|
|
}
|
|
}, items);
|
|
return obj2;
|
|
};
|