Module Slider-BsReactNative

let make: ?⁠disabled:bool => ?⁠maximumTrackTintColor:string => ?⁠maximumValue:float => ?⁠minimumTrackTintColor:string => ?⁠minimumValue:float => ?⁠onSlidingComplete:(float => unit) => ?⁠onValueChange:(float => unit) => ?⁠step:float => ?⁠value:float => ?⁠thumbTintColor:string => ?⁠maximumTrackImage:BsReactNative.Image.imageSource => ?⁠minimumTrackImage:BsReactNative.Image.imageSource => ?⁠thumbImage:BsReactNative.Image.imageSource => ?⁠trackImage:BsReactNative.Image.imageSource => ?⁠accessibilityLabel:ReasonReact.reactElement => ?⁠accessible:bool => ?⁠hitSlop:BsReactNative.Types.insets => ?⁠onAccessibilityTap:(unit => unit) => ?⁠onLayout:(BsReactNative.RNEvent.NativeLayoutEvent.t => unit) => ?⁠onMagicTap:(unit => unit) => ?⁠responderHandlers:BsReactNative.Types.touchResponderHandlers => ?⁠pointerEvents:BsReactNative.Types.pointerEvents => ?⁠removeClippedSubviews:bool => ?⁠style:BsReactNative.Style.t => ?⁠testID:string => ?⁠accessibilityComponentType:BsReactNative.Types.accessibilityComponentType => ?⁠accessibilityLiveRegion:BsReactNative.Types.accessibilityLiveRegion => ?⁠collapsable:bool => ?⁠importantForAccessibility:BsReactNative.Types.importantForAccessibility => ?⁠needsOffscreenAlphaCompositing:bool => ?⁠renderToHardwareTextureAndroid:bool => ?⁠accessibilityTraits:list(BsReactNative.Types.accessibilityTrait) => ?⁠accessibilityRole:BsReactNative.Types.accessibilityRole => ?⁠accessibilityStates:list(BsReactNative.Types.accessibilityState) => ?⁠accessibilityHint:string => ?⁠accessibilityIgnoresInvertColors:bool => ?⁠accessibilityViewIsModal:bool => ?⁠shouldRasterizeIOS:bool => array(ReasonReact.reactElement) => ReasonReact.component(ReasonReact.stateless, ReasonReact.noRetainedProps, unit);

A component used to select a single value from a range of values. You can read more on Slider component usage in official docs: https://facebook.github.io/react-native/docs/slider

Props

View props

disabled
~disabled: bool=?,
maximumTrackTintColor
~maximumTrackTintColor: string=?,
maximumValue
~maximumValue: float=?,
minimumTrackTintColor
~minimumTrackTintColor: string=?,
minimumValue
~minimumValue: float=?,
onSlidingComplete
~onSlidingComplete: float => unit=?,
onValueChange
~onValueChange: float => unit=?,
step
~step: float=?,
value
~value: float=?,
thumbTintColor
~thumbTintColor: string=?,
maximumTrackImage
~maximumTrackImage: Image.imageSource=?,

reference:

type imageSource =
  | `URI(imageURISource)
  | `Required(Packager.required)
  | `Multiple(list(imageURISource));
let imageURISource:
(
  ~uri: string,
  ~bundle: string=?,
  ~method: string=?,
  ~headers: Js.t('a)=?,
  ~body: string=?,
  ~cache: [
    | `default
    | `reload
    | `forceCache
    | `onlyIfCached
  ]=?,
  ~scale: float=?,
  ~width: float=?,
  ~height: float=?,
  unit
) =>
imageURISource;
minimumTrackImage
~minimumTrackImage: Image.imageSource=?,
thumbImage
~thumbImage: Image.imageSource=?,
trackImage
~trackImage: Image.imageSource=?,