Props

io.github.nafg.scalajs.facades.mui.Chip$.Props
class Props extends PropTypes

Attributes

Graph
Supertypes
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 size extends Prop[String]

The size of the chip.

The size of the chip.

Attributes

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

Avatar element.

Avatar element.

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

If true, the chip will appear clickable, and will raise when pressed, even if the onClick prop is not defined. If false, the chip will not be clickable, even if onClick prop is defined. This can be used, for example, along with the component prop to indicate an anchor Chip is clickable.

If true, the chip will appear clickable, and will raise when pressed, even if the onClick prop is not defined. If false, the chip will not be clickable, even if onClick prop is defined. This can be used, for example, along with the component prop to indicate an anchor Chip is clickable.

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 deleteIcon: Prop[VdomElement]

Override the default delete icon element. Shown only if onDelete is set.

Override the default delete icon element. Shown only if onDelete is set.

Attributes

def disabled: Prop[Boolean]

If true, the chip should be displayed in a disabled state.

If true, the chip should be displayed in a disabled state.

Attributes

def icon: Prop[VdomElement]

Icon element.

Icon element.

Attributes

def label: Prop[VdomNode]

The content of the label.

The content of the label.

Attributes

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

Callback function fired when the delete icon is clicked. If set, the delete icon will be shown.

Callback function fired when the delete icon is clicked. If set, the delete icon will be shown.

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