@scrolia/react-native
Version:
A headless scrollbar component
15 lines • 603 B
TypeScript
import { PanResponderInstance } from "react-native";
/** Hook for thumb logic. */
declare const useThumbXHandler: () => {
panResponder: PanResponderInstance;
};
/** Hook for thumb logic. */
declare const useThumbYHandler: () => {
panResponder: PanResponderInstance;
};
/** Result of the `useThumbXHandler` hook. */
type ThumbXHandler = ReturnType<typeof useThumbXHandler>;
/** Result of the `useThumbYHandler` hook. */
type ThumbYHandler = ReturnType<typeof useThumbYHandler>;
export { type ThumbXHandler, type ThumbYHandler, useThumbXHandler, useThumbYHandler };
//# sourceMappingURL=index.d.ts.map