ThemeSwitcher

constructor(title: String? = "Switch color theme", style: ButtonStyle = ButtonStyle.SECONDARY, round: Boolean = false, disabled: Boolean = false, className: String? = null, init: ThemeSwitcher.() -> Unit? = null)

Parameters

title

switcher title

style

button style

round

use round switcher style

disabled

determines if the button is disabled on start

className

CSS class names

init

an initializer extension function