Props

io.github.nafg.scalajs.facades.mui.Icon$.Props
class Props extends WithChildren[VdomNode]

Attributes

Graph
Supertypes
trait WithChildren[VdomNode]
trait PropTypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Classlikes

object color extends Prop[String]

The color of the component. It supports those theme colors that make sense for this component.

The color of the component. It supports those theme colors that make sense for this component.

Attributes

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

The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.

The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.

Attributes

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

Inherited classlikes

object dyn extends Dynamic

Attributes

Inherited from:
PropTypes
Graph
Supertypes
trait Dynamic
class Object
trait Matchable
class Any

Value members

Concrete methods

def children: Prop[VdomNode]

The name of the icon font ligature.

The name of the icon font ligature.

Attributes

def classes: Prop[Object]

Override or extend the styles applied to the component. See CSS API below for more details.

Override or extend the styles applied to the component. See CSS API below for more details.

Attributes

def component: Prop[ElementType]

The component used for the root node. Either a string to use a HTML element or a component.

The component used for the root node. Either a string to use a HTML element or a component.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def style: Prop[Object]

Inherited methods

def of[A : Writer](implicit evidence$1: Writer[A], name: Name): Prop[A]

Attributes

Inherited from:
PropTypes

Inherited fields

val key: Prop[Key]

Attributes

Inherited from:
PropTypes