File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -47,16 +47,16 @@ yarn add @reason-react-native/slider
47
47
``` reason
48
48
ReactNativeSlider.make(
49
49
~style: ReactNative.Style.t=?,
50
- ~value: int =?,
51
- ~step: int =?,
52
- ~minimumValue: int =?,
53
- ~maximumValue: int =?,
50
+ ~value: float =?,
51
+ ~step: float =?,
52
+ ~minimumValue: float =?,
53
+ ~maximumValue: float =?,
54
54
~minimumTrackTintColor: string=?,
55
55
~maximumTrackTintColor: string=?,
56
56
~disabled: bool=?,
57
- ~onSlidingStart: int => unit=?,
58
- ~onSlidingComplete: int => unit=?,
59
- ~onValueChange: int => unit=?,
57
+ ~onSlidingStart: float => unit=?,
58
+ ~onSlidingComplete: float => unit=?,
59
+ ~onValueChange: float => unit=?,
60
60
~testID: string=?,
61
61
~children: React.element=?,
62
62
// iOS Props
@@ -85,8 +85,8 @@ ReactNativeSlider.make(
85
85
)
86
86
)
87
87
}
88
- minimumValue={0}
89
- maximumValue={1}
88
+ minimumValue={0. }
89
+ maximumValue={1. }
90
90
minimumTrackTintColor="#FFFFFF"
91
91
maximumTrackTintColor="#000000"
92
92
/>
You can’t perform that action at this time.
0 commit comments