<LayerPanelList />

Constructor

# <LayerPanelList children onSort onReorderedItems items disableDrag />

PropTypes:
Name Type Required Description Default
children node No The content of the LayerPanelList (likely `LayerPanelListItem` components)
onSort func No callback when item prop is dropped (a, b) => { return a - b }
onReorderedItems func No callback with reordered items
items array No array of items to be rendered in the list
disableDrag bool No A boolean to disable the drag event on the LayerPanelList false
Since:
  • 0.5.0

View Source LayerPanel/LayerPanelList/index.js, line 34