UNPKG

@remirage/react-native-wheel-input

Version:

react-native-radial-input-slider is a React Native component that allows users to select a value using a circular radial slider while also providing a direct input field in the center for manual number entry.

14 lines (13 loc) 488 B
import type { RadialSliderAnimationHookProps } from '../types'; declare const useSliderAnimation: (props: RadialSliderAnimationHookProps) => { panResponder: import("react-native").PanResponderInstance; prevValue: import("react").MutableRefObject<number>; value: number; setValue: import("react").Dispatch<import("react").SetStateAction<number>>; curPoint: { x: number; y: number; }; currentRadian: number; }; export default useSliderAnimation;