Props

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

Attributes

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

Members list

Type members

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 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 onChange: Prop[Any => Any]

Callback fired when the value changes.

Callback fired when the value changes.

Value parameters

{React.SyntheticEvent}

event The event source of the callback. Warning: This is a generic event not a change event.

{any}

value We default to the index of the child.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def showLabels: Prop[Boolean]

If true, all BottomNavigationActions will show their labels. By default, only the selected BottomNavigationAction will show its label.

If true, all BottomNavigationActions will show their labels. By default, only the selected BottomNavigationAction will show its label.

Attributes

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

def value: Prop[Any]

The value of the currently selected BottomNavigationAction.

The value of the currently selected BottomNavigationAction.

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