Ripple

constructor(rippleColor: Color? = null, rippleBackground: Color? = null, size: RippleSize? = null, center: Boolean? = null, className: String? = null, init: Ripple.() -> Unit? = null)

Creates a ripple effect component.

Parameters

rippleColor

the color of the ripple effect

rippleBackground

the color of the background

size

sizing of the wave on ripple effect

center

whether the wave effect position is moved to the center of the target element

className

CSS class names

init

an initializer extension function