ThemeSwitcher

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

Color theme switcher component.

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

Constructors

Link copied to clipboard
constructor(title: String? = "Switch color theme", style: <Error class: unknown class> = ButtonStyle.SECONDARY, round: Boolean = false, disabled: Boolean = false, className: String? = null, init: ThemeSwitcher.() -> Unit? = null)

Properties

Link copied to clipboard
var round: <Error class: unknown class>

Round switcher style.

Functions

Link copied to clipboard
open fun buildClassSet(classSetBuilder: <Error class: unknown class>)