UNPKG

react-native-ui-lib

Version:

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://stand-with-ukraine.pp.ua)

25 lines (24 loc) 820 B
import React from 'react'; import { ViewProps, ViewStyle } from 'react-native'; import { SharedValue } from 'react-native-reanimated'; interface ThumbProps extends ViewProps { start: SharedValue<number>; end: SharedValue<number>; offset: SharedValue<number>; stepInterpolatedValue: SharedValue<number>; stepInterpolation?: () => number; shouldBounceToStep?: boolean; gap?: number; disabled?: boolean; secondary?: boolean; defaultStyle?: SharedValue<ViewStyle>; activeStyle?: SharedValue<ViewStyle>; disableActiveStyling?: boolean; hitSlop?: ViewProps['hitSlop']; shouldDisableRTL?: boolean; onSeekStart?: () => void; onSeekEnd?: () => void; enableShadow?: boolean; } declare const Thumb: (props: ThumbProps) => React.JSX.Element; export default Thumb;