react-native-ui-lib
Version:
[](https://stand-with-ukraine.pp.ua)
33 lines (32 loc) • 929 B
TypeScript
import React from 'react';
import { ViewStyle, ViewProps, View as RNView } from 'react-native';
export interface ThumbProps extends ViewProps {
/**
* The thumb style
*/
thumbStyle?: ViewStyle;
/**
* The active (during press) thumb style
*/
activeThumbStyle?: ViewStyle;
/**
* If true the Slider will not change it's style on press
*/
disableActiveStyling?: boolean;
/**
* Defines how far a touch event can start away from the thumb.
*/
thumbHitSlop?: ViewProps['hitSlop'];
/**
* Thumb color
*/
thumbTintColor?: string;
/**
* If true the Slider will be disabled and will appear in disabled color
*/
disabled?: boolean;
/** ref to thumb component */
ref?: React.RefObject<RNView>;
}
declare const Thumb: React.ForwardRefExoticComponent<Omit<ThumbProps, "ref"> & React.RefAttributes<unknown>>;
export default Thumb;