ButtonProps

interface ButtonProps

Props used to customize the Button.

Properties

Link copied to clipboard
abstract var active: Boolean?

active prop, false by default.

Link copied to clipboard
abstract var disabled: Boolean?

disable prop, false by default.

Link copied to clipboard
abstract var onClick: () -> Unit

onClick prop. Execute the specified function when clicked.

Link copied to clipboard
abstract var variant: String

variant prop, 'primary' by default.