Props

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

Attributes

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

Members list

Type members

Classlikes

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.

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

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

The positioning type. The behavior of the different options is described in the MDN web docs. Note: sticky is not universally supported and will fall back to static when unavailable.

The positioning type. The behavior of the different options is described in the MDN web docs. Note: sticky is not universally supported and will fall back to static when unavailable.

Attributes

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

Inherited classlikes

object dyn extends Dynamic

Attributes

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

Value members

Concrete methods

def children: Prop[VdomNode]

The content of the component.

The content of the component.

Attributes

def classes: Prop[Object]

Override or extend the styles applied to the component.

Override or extend the styles applied to the component.

Attributes

def enableColorOnDark: Prop[Boolean]

If true, the color prop is applied in dark mode.

If true, the color prop is applied in dark mode.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def style: Prop[Object]
def sx: Prop[Seq[Any => Any | Object | Boolean] | Any => Any | Object]

The system prop that allows defining system overrides as well as additional CSS styles.

The system prop that allows defining system overrides as well as additional CSS styles.

Attributes

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