Files
discord-decomp/_bundle/_default_1842.jsx
T
2026-11-01 12:12:55 +02:00

12 lines
554 B
React

// Metro module 1842 (f1843).
import { Animated } from "react-native";
import { KeyboardBackgroundView } from "./Module1596";
import { useKeyboardAnimation } from "./useResizeMode";
import { KeyboardStickyView } from "./Module1811";
const AnimatedComponent = Animated.createAnimatedComponent(KeyboardBackgroundView);
export default ({ children, enabled }) => <KeyboardStickyView enabled={enabled === void 0 || enabled}>
<AnimatedComponent style={{
opacity: useKeyboardAnimation().progress
}}>{children}</AnimatedComponent>
</KeyboardStickyView>;