メインコンテンツまでスキップ

Interface: SliderThumbProps

Defined in: react/src/components/Slider/Thumb.tsx:17

Properties​

actionsRef?​

optional actionsRef?: Ref<SliderThumbMethods>;

Defined in: react/src/components/Slider/Thumb.tsx:31

Receives focus and blur for the range input inside, which do nothing while the slider is disabled. ref reaches the thumb element itself.


color?​

optional color?: string;

Defined in: react/src/components/Slider/Thumb.tsx:23

Sets --color, for the theme to colour the thumb with. The size is not set here but by --thumb-size on Slider.Root, so that the root can leave the matching room around the track.


style?​

optional style?: CSSProperties & object & object;

Defined in: react/src/components/Slider/Thumb.tsx:25

Type Declaration​

--color?​
optional --color?: string | number;
--translate?​
optional --translate?: string | number;