Props

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

Attributes

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

Members list

Type members

Classlikes

object alignItems extends Prop[String]

Defines the align-items style property.

Defines the align-items style property.

Attributes

Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
alignItems.type

Inherited classlikes

object dyn extends Dynamic

Attributes

Inherited from:
PropTypes
Supertypes
trait Dynamic
class Object
trait Matchable
class Any

Value members

Concrete methods

def ContainerComponent: Prop[Any]

The container component used when a ListItemSecondaryAction is the last child.

The container component used when a ListItemSecondaryAction is the last child.

Attributes

def ContainerProps: Prop[Object]

Props applied to the container component if used.

Props applied to the container component if used.

Attributes

def children: Prop[VdomNode]

The content of the component if a ListItemSecondaryAction is used it must be the last child.

The content of the component if a ListItemSecondaryAction is used it must be the last child.

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 components: Prop[Object]

The components used for each slot inside.

The components used for each slot inside.

This prop is an alias for the slots prop. It's recommended to use the slots prop instead.

Attributes

def componentsProps: Prop[Object]

The extra props for the slot components. You can override the existing props or add new ones.

The extra props for the slot components. You can override the existing props or add new ones.

This prop is an alias for the slotProps prop. It's recommended to use the slotProps prop instead, as componentsProps will be deprecated in the future.

Attributes

def dense: Prop[Boolean]

If true, compact vertical padding designed for keyboard and mouse input is used. The prop defaults to the value inherited from the parent List component.

If true, compact vertical padding designed for keyboard and mouse input is used. The prop defaults to the value inherited from the parent List component.

Attributes

def disableGutters: Prop[Boolean]

If true, the left and right padding is removed.

If true, the left and right padding is removed.

Attributes

def disablePadding: Prop[Boolean]

If true, all padding is removed.

If true, all padding is removed.

Attributes

def divider: Prop[Boolean]

If true, a 1px light border is added to the bottom of the list item.

If true, a 1px light border is added to the bottom of the list item.

Attributes

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

The element to display at the end of ListItem.

The element to display at the end of ListItem.

Attributes

def slotProps: Prop[Object]

The extra props for the slot components. You can override the existing props or add new ones.

The extra props for the slot components. You can override the existing props or add new ones.

This prop is an alias for the componentsProps prop, which will be deprecated in the future.

Attributes

def slots: Prop[Object]

The components used for each slot inside.

The components used for each slot inside.

This prop is an alias for the components prop, which will be deprecated in the future.

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

Deprecated methods

def autoFocus: Prop[Boolean]

If true, the list item is focused during the first mount. Focus will also be triggered if the value changes from false to true.

If true, the list item is focused during the first mount. Focus will also be triggered if the value changes from false to true.

Attributes

Deprecated
true
def button: Prop[Boolean]

If true, the list item is a button (using ButtonBase). Props intended for ButtonBase can then be applied to ListItem.

If true, the list item is a button (using ButtonBase). Props intended for ButtonBase can then be applied to ListItem.

Attributes

Deprecated
true
def disabled: Prop[Boolean]

If true, the component is disabled.

If true, the component is disabled.

Attributes

Deprecated
true
def selected: Prop[Boolean]

Use to apply selected styling.

Use to apply selected styling.

Attributes

Deprecated
true

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