<LayerPanelListItem />

Constructor

# <LayerPanelListItem title item children handleDoubleClick />

PropTypes:
Name Type Required Description Default
title string No A string for the LayerPanelListItem title
item object No object that is rendering in the listitem
children node No If children is passed, replace the title with children (the item still shows & checkbox & ellipses)
handleDoubleClick func No callback that is called when item is doubleClicked () => {}
Since:
  • 0.5.0

View Source LayerPanel/LayerPanelListItem/index.js, line 10