Props

io.github.nafg.scalajs.facades.mui.ListItemText.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]

Alias for the primary prop.

Alias for the primary prop.

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

If true, the children won't be wrapped by a Typography component. This can be useful to render an alternative Typography variant by wrapping the children (or primary) text, and optional secondary text with the Typography component.

If true, the children won't be wrapped by a Typography component. This can be useful to render an alternative Typography variant by wrapping the children (or primary) text, and optional secondary text with the Typography component.

Attributes

def inset: Prop[Boolean]

If true, the children are indented. This should be used if there is no left avatar or left icon.

If true, the children are indented. This should be used if there is no left avatar or left icon.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def primary: Prop[VdomNode]

The main content element.

The main content element.

Attributes

def primaryTypographyProps: Prop[Object]

These props will be forwarded to the primary typography component (as long as disableTypography is not true).

These props will be forwarded to the primary typography component (as long as disableTypography is not true).

Attributes

def secondary: Prop[VdomNode]

The secondary content element.

The secondary content element.

Attributes

def secondaryTypographyProps: Prop[Object]

These props will be forwarded to the secondary typography component (as long as disableTypography is not true).

These props will be forwarded to the secondary typography component (as long as disableTypography is not true).

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

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