2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 11960
|
|
|
|
|
// Function ID: 11961
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useAutocompleteAnimatedHeightStyles
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [4243, 4120, 4381, 4384, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 11960 (useAutocompleteAnimatedHeightStyles)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
|
2026-07-20 16:05:17 +00:00
|
|
|
let closure_2 = { code: "function useAutocompleteAnimatedHeightStylesTsx1(){const{withTiming,height,timingStandard,isFrozenSharedValue}=this.__closure;return{height:withTiming(height,timingStandard),display:!isFrozenSharedValue.get()?'flex':'none'};}" };
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = set.fileFinishedImporting("modules/autocompleter/native/useAutocompleteAnimatedHeightStyles.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function useAutocompleteAnimatedHeightStyles(height) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const _require = height;
|
|
|
|
|
let obj = _require(isScreenIndexFrozenSharedValue[0]);
|
|
|
|
|
isScreenIndexFrozenSharedValue = obj.useIsScreenIndexFrozenSharedValue(arg1);
|
2026-07-20 16:05:17 +00:00
|
|
|
const fn = function s() {
|
2026-08-24 06:08:38 +00:00
|
|
|
const obj = { height: height(isScreenIndexFrozenSharedValue[2]).withTiming(height, height(isScreenIndexFrozenSharedValue[3]).timingStandard), display: null };
|
2026-07-20 16:05:17 +00:00
|
|
|
let str = "flex";
|
|
|
|
|
if (isScreenIndexFrozenSharedValue.get()) {
|
|
|
|
|
str = "none";
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
obj[1] = str;
|
2026-07-20 16:05:17 +00:00
|
|
|
return obj;
|
|
|
|
|
};
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = { withTiming: _require(isScreenIndexFrozenSharedValue[2]).withTiming, height, timingStandard: _require(isScreenIndexFrozenSharedValue[3]).timingStandard, isFrozenSharedValue: isScreenIndexFrozenSharedValue };
|
2026-07-20 16:05:17 +00:00
|
|
|
fn.__closure = obj;
|
|
|
|
|
fn.__workletHash = 3862216441966;
|
|
|
|
|
fn.__initData = closure_2;
|
2026-07-23 10:11:24 +00:00
|
|
|
return _require(isScreenIndexFrozenSharedValue[1]).useAnimatedStyle(fn);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|