Wrapper

circle-info

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

❌

chevron-rightisDraggablehashtag

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

chevron-rightitemsSorthashtag

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.

chevron-rightdraggableIconhashtag

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

chevron-rightonDragChangehashtag

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

Last updated