ListItemProps

Properties

Link copied to clipboard
abstract external var alignItems: ListItemAlignItems?

Defines the align-items style property.

Link copied to clipboard
abstract external override var children: ReactNode?

The content of the component.

Link copied to clipboard
abstract external var classes: ListItemClasses?

Override or extend the styles applied to the component.

Link copied to clipboard
abstract external var component: ElementType<*>?
Link copied to clipboard
abstract external var dense: 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.

Link copied to clipboard
abstract external var disableGutters: Boolean?

If true, the left and right padding is removed.

Link copied to clipboard
abstract external var disablePadding: Boolean?

If true, all padding is removed.

Link copied to clipboard
abstract external var divider: Boolean?

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

Link copied to clipboard
abstract external var key: Key?
Link copied to clipboard
abstract external var secondaryAction: ReactNode?

The element to display at the end of ListItem.

Link copied to clipboard
abstract external var slotProps: ListItemOwnProps.SlotProps?

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

Link copied to clipboard
abstract external var slots: ListItemOwnProps.Slots?

The components used for each slot inside.

Link copied to clipboard
abstract external override var sx: SxProps<Theme>?

The system prop that allows defining system overrides as well as additional CSS styles.

Functions

Link copied to clipboard
open inline external fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator external fun <P : Props> ElementType<P>.invoke()
open inline operator external fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator external fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator external fun Char.unaryPlus()
open inline operator external fun String?.unaryPlus()
open inline operator external fun ReactNode?.unaryPlus()
open inline operator external fun Props?.unaryPlus()