12 lines
554 B
React
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>;
|