Wrapper

This is a compound component.

API

This component extends the native div tag props. This means this component can receive the native html div attributes, for example, the className attribute (which is why it's not included in the table).

Props
Type
Required

children

ContainerList.Item

itemsSort

string[]

isDraggable

boolean

draggableIcon

Telicon Icons

onDragChange

(e: string[])=>void

isDraggable

Transforms the container list from a static list to one that can de sorted by dragging and dropping elements by the user.

itemsSort

This is a prop to use exclusively with the isDraggable prop being true and when developers want to implement a controlled approach to sort the items inside the container list.

draggableIcon

Controls the icon to show when the container list component is draggable.

onDragChange

Event that triggers when the user drags and drops elemnts in the container list.

Last updated