Skip to content

Commit 6c3c583

Browse files
authored
Slider - add extra incubator slider props (enabled with migrate only) (#3246)
1 parent 7b939c0 commit 6c3c583

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/components/slider/types.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,18 @@ export type SliderProps = Omit<ThumbProps, 'ref'> & {
101101
* Whether to use the new Slider implementation using Reanimated
102102
*/
103103
migrate?: boolean;
104+
/**
105+
* Whether the thumb will have a shadow. default is true. (only when migrate = true)
106+
*/
107+
enableThumbShadow?: boolean;
108+
/**
109+
* Disabled thumb tint color (only when migrate = true)
110+
*/
111+
disabledThumbTintColor?: string;
112+
/**
113+
* Control the throttle time of the onValueChange and onRangeChange callbacks (only when migrate = true)
114+
*/
115+
throttleTime?: number;
104116
};
105117

106118
export enum GradientSliderTypes {

0 commit comments

Comments
 (0)