color

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

The color of the component. 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 default: Setting
val error: Setting
val info: Setting
val inherit: Setting
val primary: Setting
val secondary: Setting
val success: Setting
val warning: Setting

Inherited fields

val name: String

Attributes

Inherited from:
Prop