ListItem
Extends:
react~React.Component → ListItem
Элемент List
Example:
<ListItem id={cnt.id}
title={cnt.name || cnt.id}
active={cnt.opened}>
<WidgetFactory containerId={cnt.id} pageId={cnt.pageId} fetchOnInit={cnt.fetchOnInit} {...cnt.widget} />
</ListItem>
Static Method Summary
| Static Public Methods | ||
| public static |
getDerivedStateFromProps(nextProps: *): {"wasActive": boolean} |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
state: {"wasActive": *} |
|
Method Summary
| Public Methods | ||
| public |
handleClick(e: *) Обработка клика |
|
| public |
render(): * базовый рендер |
|