The DroplistGroupItem component.

Parameters:
NameTypeDescription
propsobject

Props for the DroplistGroupItem component.

Properties
NameTypeDescription
depthnumber

The depth of the item.

itemobject

The item object.

propsWithStateobject

The props and state object.

refobject | null

Ref to the component.

Since
  • 4.3.0
Returns:

The DroplistGroupItem component.

Type: 
JSX.Element | null

Methods

(inner) closeGroup()

Closes the group.

(inner) openGroup()

Opens the group.

(inner) setSelectedStateClosed()

Sets the selected state to closed.

(inner) setSelectedStateOpen()

Sets the selected state to open.

(inner) updateSelectedState()

Updates the selected state.