OkHsvSaturationSlider

fun OkHsvSaturationSlider(currentH: Float, currentS: Float, onSaturationChanged: (Float) -> Unit, hapticEffect: SliderDefaults.SliderHapticEffect = SliderDefaults.DefaultHapticEffect)

A OkHsvSaturationSlider component for selecting the saturation of a color using OkHSV.

Parameters

currentH

The current hue value.

currentS

The current saturation value.

onSaturationChanged

The callback to be called when the saturation changes.

hapticEffect

The haptic effect of the OkHsvSaturationSlider.