@attio/react-native-bottom-sheet-toolbox
Version:
9 lines • 593 B
TypeScript
import { type SharedValue } from "react-native-reanimated";
/**
* Performs some adjustments to a normalized array of snap-points to account for the keyboard.
*
* TODO: right now, we just expand proportionally with the keyboard. However, it would be nice
* to offer a wider selection strategies such as expanding to largest snap-point etc.
*/
export declare function useKeyboardAvoidingSnapPoints(normalizedSnapPointsSharedValue: SharedValue<number[] | null>): import("react-native-reanimated").DerivedValue<number[] | null>;
//# sourceMappingURL=use-keyboard-avoiding-snap-points.d.ts.map