Ripple(rippleColor: Color? = null, rippleBackground: Color? = null, size: RippleSize? = null, center: Boolean? = null, classes: Set<String> = setOf(), init: (Ripple.() -> Unit)? = null)
Creates a ripple effect component.
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
classes
- a set of CSS class names
init
- an initializer extension function
Constructor
Creates a ripple effect component.