Range slider
Last updated: 2.0.0 (18/01/2024)
Usage
import { RangeSlider } from "@valence-ui/core";
function MyComponent() {
const [value, setValue] = React.useState([25, 50, 75]);
return (
<RangeSlider
value={value}
setValue={setValue}
/>
)
}Minimum distance & pearling
import { RangeSlider } from "@valence-ui/core";
function MyComponent() {
const [value, setValue] = React.useState([25, 50, 75]);
return (
<RangeSlider
value={value}
setValue={setValue}
pearling={false}
minDistance={10}
/>
)
}Other modifications
Props
Property
Type
Description
Last updated