tajo / react-range

🎚️Range input with a slider. Accessible. Bring your own styles and markup.
https://react-range.pages.dev
MIT License
859 stars 97 forks source link

Add deg gradient? #137

Closed igorpichnenko closed 3 years ago

igorpichnenko commented 3 years ago

getTrackBackground: (params: { min: number; max: number; values: number[]; colors: string[]; direction?: Direction; rtl?: boolean; }) => string;

how to make the progress bar of gradient color? how to set the degree of the gradient?