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

Interface: SliderTrackProps

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

Properties​

activeColor?​

optional activeColor?: string;

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

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


inactiveColor?​

optional inactiveColor?: string;

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

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


length?​

optional 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?​

optional style?: CSSProperties & object & object;

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

Type Declaration​

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

thickness?​

optional thickness?: string | number;

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

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