UNPKG

@attio/react-native-bottom-sheet-toolbox

Version:
18 lines 885 B
import { type SharedValue } from "react-native-reanimated"; export interface UseFooterBottomPositionSharedValueArgs { /** * A shared value that tells the footer how it should be moved with the * sheet. By default, this is the internal children height of the sheet. */ bufferSharedValue: SharedValue<number | null>; /** * A shared value of the bottom position when the sheet was locked. */ bottomAtTimeOfLockSharedValue: SharedValue<number | null>; } /** * Returns a shared value that tells the footer whether it should freeze its * position as the content is expanding. */ export declare function useFooterFreezeWhenExpanding({ bufferSharedValue, bottomAtTimeOfLockSharedValue, }: UseFooterBottomPositionSharedValueArgs): import("react-native-reanimated").DerivedValue<boolean>; //# sourceMappingURL=use-footer-freeze-when-expanding.d.ts.map