color

io.github.nafg.scalajs.facades.mui.ToggleButton.Props.color
object color extends Prop[String]

The color of the button when it is in an active state. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.

Attributes

Graph
Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
color.type

Members list

Value members

Inherited methods

def :=(value: String): Setting

Attributes

Inherited from:
Prop
def :=?(value: Option[String]): Setting

Attributes

Inherited from:
Prop
def setAs[B](value: B)(implicit B: Writer[B]): Setting

Attributes

Inherited from:
Prop
def setRaw(value: Any): Setting

Attributes

Inherited from:
Prop

Concrete fields

val error: Setting
val info: Setting
val primary: Setting
val secondary: Setting
val standard: Setting
val success: Setting
val warning: Setting

Inherited fields

val name: String

Attributes

Inherited from:
Prop