Props

io.github.nafg.scalajs.facades.mui.Badge$.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 variant extends Prop[String]

The variant to use.

The variant to use.

Attributes

Graph
Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
variant.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 anchorOrigin: Prop[Object]

The anchor of the badge.

The anchor of the badge.

Attributes

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

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 invisible: Prop[Boolean]

If true, the badge will be invisible.

If true, the badge will be invisible.

Attributes

def max: Prop[Double]

Max count to show.

Max count to show.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def overlap: Prop[Any]

Wrapped shape the badge should overlap.

Wrapped shape the badge should overlap.

Attributes

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 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