Skip to content

Commit 95f3c0f

Browse files
committed
docs(Slider): Add kdoc for the new slider function
1 parent 0f420cc commit 95f3c0f

File tree

1 file changed

+8
-0
lines changed
  • slider/src/main/java/io/monstarlab/mosaic/slider

1 file changed

+8
-0
lines changed

slider/src/main/java/io/monstarlab/mosaic/slider/Slider.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ public fun Slider(
5656
)
5757
}
5858

59+
/**
60+
* A composable function that creates a slider UI component.
61+
* @param state of the Slider where the latest slider value is stored
62+
* @param colors the colors used to customize the appearance of the slider
63+
* @param modifier the modifier to be applied to the slider
64+
* @param interactionSource the interaction source used to handle user input interactions
65+
* @param thumb the composable function used to render the slider thumb
66+
*/
5967
@Composable
6068
public fun Slider(
6169
state: SliderState,

0 commit comments

Comments
 (0)