themeSwitcher

fun Container.themeSwitcher(title: String? = "Switch color theme", autoIcon: String = "fas fa-circle-half-stroke", lightIcon: String = "fas fa-moon", darkIcon: String = "fas fa-sun", round: Boolean = false, disabled: Boolean = false, className: String? = null, init: ThemeSwitcher.() -> Unit? = null): ThemeSwitcher(source)

DSL builder extension function.

It takes the same parameters as the constructor of the built component.