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

Interface: SliderTrackProps

Defined in: react/src/components/Slider/Track.tsx:12

Properties​

activeColor?​

activeColor?: string;

Defined in: react/src/components/Slider/Track.tsx:22

Colour of the part from min to the value. Sets --active-color.


inactiveColor?​

inactiveColor?: string;

Defined in: react/src/components/Slider/Track.tsx:24

Colour of the rest of the track. Sets --inactive-color.


length?​

length?: string | number;

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

How long the track is along the axis the slider runs. Sets --length; the size the theme gives it stands when this is omitted.


style?​

style?: CSSProperties & object & object;

Defined in: react/src/components/Slider/Track.tsx:26

Type Declaration​

--active-color?​
"--active-color"?: string | number;
--inactive-color?​
"--inactive-color"?: string | number;
--length?​
"--length"?: string | number;
--percent?​
"--percent"?: string | number;
--thickness?​
"--thickness"?: string | number;

thickness?​

thickness?: string | number;

Defined in: react/src/components/Slider/Track.tsx:19

How thick the track is across that axis. Sets --thickness.