@attio/react-native-bottom-sheet-toolbox
Version:
11 lines • 465 B
TypeScript
/**
* This hook snaps the bottom sheet to the nearest snap point when
* nothing else is interacting with it. It takes into account the
* last known velocity.
*
* A snap is triggered after either of the following two conditions:
* - The position off any snap-point, and has been released.
* - The underlying snap-points have changed.
*/
export declare function useBottomSheetSnapWhenIdle(): void;
//# sourceMappingURL=use-bottom-sheet-snap-when-idle.d.ts.map