Props

io.github.nafg.scalajs.facades.mui.base.Badge.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 badgeContent: Prop[VdomNode]

The content rendered within the badge.

The content rendered within the badge.

Attributes

def children: Prop[VdomNode]

The badge will be added relative to this node.

The badge will be added relative to this node.

Attributes

def invisible: Prop[Boolean]

If true, the badge is invisible.

If true, the badge is invisible.

Attributes

def max: Prop[Double]

Max count to show.

Max count to show.

Attributes

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

Controls whether the badge is hidden when badgeContent is zero.

Controls whether the badge is hidden when badgeContent is zero.

Attributes

def slotProps: Prop[Object]

The props used for each slot inside the Badge.

The props used for each slot inside the Badge.

Attributes

def slots: Prop[Object]

The components used for each slot inside the Badge. Either a string to use a HTML element or a component.

The components used for each slot inside the Badge. Either a string to use a HTML element or a component.

Attributes

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