1+ [@ bs . module ] [@ react . component ]
2+ external make :
3+ (
4+ ~style : ReactNative . Style . t =?,
5+ ~value : int =?,
6+ ~step : int =?,
7+ ~minimumValue : int =?,
8+ ~maximumValue : int =?,
9+ ~minimumTrackTintColor : string =?,
10+ ~maximumTrackTintColor : string =?,
11+ ~disabled : bool =?,
12+ ~onSlidingStart : int => unit =?,
13+ ~onSlidingComplete : int => unit =?,
14+ ~onValueChange : int => unit =?,
15+ ~testID : string =?,
16+ ~children : React . element =?,
17+ // IOS Props
18+ ~maximumTrackImage : ReactNative . Image . Source . t =?,
19+ ~minimumTrackImage : ReactNative . Image . Source . t =?,
20+ ~thumbImage : ReactNative . Image . Source . t =?,
21+ ~trackImage : ReactNative . Image . Source . t =?,
22+ ~inverted : bool =?,
23+ // Android
24+ ~thumbTintColor : string =?,
25+ // View Props: https://github.com/reasonml-community/reason-react-native/blob/master/reason-react-native/src/components/View.re#L14-L60
26+ ~accessibilityComponentType : [@ bs . string ] [
27+ | ` none
28+ | ` button
29+ | ` radiobutton_checked
30+ | ` radiobutton_unchecked
31+ ]
32+ =?,
33+ ~accessibilityElementsHidden : bool =?,
34+ ~accessibilityHint : string =?,
35+ ~accessibilityIgnoresInvertColors : bool =?,
36+ ~accessibilityLabel : string =?,
37+ ~accessibilityLiveRegion : [@ bs . string ] [ | ` none | ` polite | ` assertive ] =?,
38+ ~accessibilityRole : [@ bs . string ] [
39+ | ` none
40+ | ` button
41+ | ` link
42+ | ` search
43+ | ` image
44+ | ` keyboardkey
45+ | ` text
46+ | ` adjustable
47+ | ` header
48+ | ` summary
49+ | ` imagebutton
50+ ]
51+ =?,
52+ ~accessibilityStates : array (ReactNative . AccessibilityState . t )=?,
53+ ~accessibilityTraits : array (ReactNative . AccessibilityTrait . t )=?,
54+ ~accessibilityViewIsModal : bool =?,
55+ ~accessible : bool =?,
56+ ~collapsable : bool =?,
57+ ~hitSlop : ReactNative . View . edgeInsets =?,
58+ ~importantForAccessibility : [@ bs . string ] [
59+ | ` auto
60+ | ` yes
61+ | ` no
62+ | [@ bs . as "no-hide-descendants" ]
63+ ` noHideDescendants
64+ ]
65+ =?,
66+ ~nativeID : string =?,
67+ ~needsOffscreenAlphaCompositing : bool =?,
68+ ~onAccessibilityEscape : unit => unit =?,
69+ ~onAccessibilityTap : unit => unit =?,
70+ ~onLayout : ReactNative . Event . layoutEvent => unit =?,
71+ ~onMagicTap : unit => unit =?
72+ ) =>
73+ React . element =
74+ "@react-native-community/slider" ;
0 commit comments