Skip to main content

Interface: ListElementViewProps

Defined in: src/widgets/utility/listElementView.tsx:19

Props for ListElementView component.

See

ListElementView

Extends

  • Omit<React.HTMLProps<HTMLElement>, "onClick">

Properties

PropertyTypeDescriptionOverrides

className?

string

Additional CSS class for the component.

Omit.className

disabled?

boolean

Whether to disable item selection and ability to drag and drop it.

Omit.disabled

element

ElementModel

Entity data to display.

highlightText?

string

Text sub-string to highlight in the displayed entity.

onClick?

(event, model) => void

Handler for a click on the list item.

onDragStart?

DragEventHandler<HTMLElement>

Handler for a drag start event of the list item.

Omit.onDragStart

selected?

boolean

Whether the list item is selected.

Omit.selected