CarouselButtonData

constructor(onClick: () -> Unit, enabled: Boolean, text: String, icon: @Composable () -> Unit)

Parameters

onClick

: Will be called when the user clicks the button.

enabled

: Controls the enabled state of the component. When false, this button will not be clickable and will appear disabled to accessibility services.

text

: the text to be displayed.

icon

: the icon to be used.