color

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

The color of the component. Unless provided, the value is taken from the severity prop. 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 success: Setting
val warning: Setting

Inherited fields

val name: String

Attributes

Inherited from:
Prop