Skip to content

Commit

Permalink
docs: add missing kdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
levinzonr committed Apr 29, 2024
1 parent 2dda459 commit 494d0ea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions slider/src/main/java/io/monstarlab/mosaic/slider/SliderState.kt
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,16 @@ public class SliderState(
}
}

/**
* Creates a [SliderState] that holds the state of a slider
* @param value the initial value of the slider
* @param range the range of the slider
* @param valueDistribution the distribution of the slider values
* @param disabledRange the range of the slider that is disabled
*
* @return a [SliderState] that holds the state of a slider
*/
@Composable
public fun rememberSliderState(
value: Float,
Expand Down

0 comments on commit 494d0ea

Please sign in to comment.