docs: some tweaks for @return

This commit is contained in:
2024-01-07 04:27:27 +08:00
parent 3a3d4df78b
commit b01f3f727b

View File

@@ -75,6 +75,7 @@ fun rememberRipple(style: RippleStyle = InteractionDefaults.rippleStyle) =
* @param onClickLabel the click label. * @param onClickLabel the click label.
* @param role the role. * @param role the role.
* @param onClick the click event. * @param onClick the click event.
* @return [Modifier]
*/ */
fun Modifier.rippleClickable( fun Modifier.rippleClickable(
rippleStyle: RippleStyle? = null, rippleStyle: RippleStyle? = null,
@@ -119,6 +120,7 @@ fun Modifier.rippleClickable(
* @param onLongClick the long click event. * @param onLongClick the long click event.
* @param onDoubleClick the double click event. * @param onDoubleClick the double click event.
* @param onClick the click event. * @param onClick the click event.
* @return [Modifier]
*/ */
fun Modifier.rippleCombinedClickable( fun Modifier.rippleCombinedClickable(
rippleStyle: RippleStyle? = null, rippleStyle: RippleStyle? = null,
@@ -168,6 +170,7 @@ fun Modifier.rippleCombinedClickable(
* @param enabled whether to enable the event, default is true. * @param enabled whether to enable the event, default is true.
* @param role the role. * @param role the role.
* @param onValueChange the value change event. * @param onValueChange the value change event.
* @return [Modifier]
*/ */
fun Modifier.rippleToggleable( fun Modifier.rippleToggleable(
value: Boolean, value: Boolean,
@@ -208,6 +211,7 @@ fun Modifier.rippleToggleable(
* @param enabled whether to enable the event, default is true. * @param enabled whether to enable the event, default is true.
* @param role the role. * @param role the role.
* @param onClick the click event. * @param onClick the click event.
* @return [Modifier]
*/ */
fun Modifier.rippleSelectable( fun Modifier.rippleSelectable(
selected: Boolean, selected: Boolean,