11import * as React from 'react' ;
2- import { FC } from 'react' ;
2+ import { FC } from 'react' ;
33import * as ReactNative from 'react-native' ;
4- import { ImageURISource } from 'react-native' ;
4+ import { ImageURISource } from 'react-native' ;
55
66type Constructor < T > = new ( ...args : any [ ] ) => T ;
77
@@ -14,6 +14,21 @@ export interface SliderPropsAndroid extends ReactNative.ViewProps {
1414 * Color of the foreground switch grip.
1515 */
1616 thumbTintColor ?: string ;
17+
18+ /**
19+ * Write-only property representing the bufferedValue of the slider.
20+ * Entered once at the beginning still acts as an initial value.
21+ * The value should be between minimumValue and maximumValue,
22+ * which default to 0 and 1 respectively.
23+ * Default value is 0.
24+ */
25+ bufferedValue ?: number ;
26+
27+ /**
28+ * The color used for the buffered track (secondaryProgress)
29+ * Overrides the default grey gradient image.
30+ */
31+ bufferedTrackTintColor ?: string ;
1732}
1833
1934export interface SliderRef {
@@ -108,12 +123,6 @@ export interface SliderProps
108123 */
109124 minimumTrackTintColor ?: string ;
110125
111- /**
112- * The color used for the buffered track (secondaryProgress)
113- * Overrides the default grey gradient image.
114- */
115- bufferedTrackTintColor ?: string ;
116-
117126 /**
118127 * Initial minimum value of the slider. Default value is 0.
119128 */
@@ -163,15 +172,6 @@ export interface SliderProps
163172 */
164173 value ?: number ;
165174
166- /**
167- * Write-only property representing the bufferedValue of the slider.
168- * Entered once at the beginning still acts as an initial value.
169- * The value should be between minimumValue and maximumValue,
170- * which default to 0 and 1 respectively.
171- * Default value is 0.
172- */
173- bufferedValue ?: number ;
174-
175175 /**
176176 * Reverses the direction of the slider.
177177 */
@@ -183,7 +183,7 @@ export interface SliderProps
183183 StepMarker ?: FC < MarkerProps > ;
184184
185185 /**
186- *
186+ *
187187 */
188188 renderStepNumber ?: boolean ;
189189
0 commit comments