Skip to main content

Pivotal UI

v18.1.0
Components / Draggable list

Draggable list

Draggable
ReferenceError: React is not defined

DraggableList props

PropertyRequiredTypeDefaultDescription
childrennonodeDraggable items in list
innerClassNamenostringCSS class to apply to all items in list
onDragEndnofunctionCallback called with the item indices when a drag completes

DraggableListItem props

No props taken.

Imports

Import React components (including CSS):

import {DraggableList, DraggableListItem} from 'pivotal-ui/react/draggable-list';