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
4747``` reason
4848ReactNativeSlider.make(
4949 ~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 =?,
5454 ~minimumTrackTintColor: string=?,
5555 ~maximumTrackTintColor: string=?,
5656 ~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=?,
6060 ~testID: string=?,
6161 ~children: React.element=?,
6262 // iOS Props
@@ -85,8 +85,8 @@ ReactNativeSlider.make(
8585 )
8686 )
8787 }
88- minimumValue={0}
89- maximumValue={1}
88+ minimumValue={0. }
89+ maximumValue={1. }
9090 minimumTrackTintColor="#FFFFFF"
9191 maximumTrackTintColor="#000000"
9292/>
You can’t perform that action at this time.
0 commit comments