@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
20 lines (19 loc) • 1.14 kB
JavaScript
'use client';
import { withWebComponent } from '@ui5/webcomponents-react-base';
/**
* The `TreeItemCustom` represents a node in a tree structure, shown as a `List`.
*
* This is the item to use inside a `Tree`.
* You can represent an arbitrary tree structure by recursively nesting tree items.
*
* You can use this item to put any custom content inside the tree item.
*
*
*
* __Note:__ This is a UI5 Web Component! [TreeItemCustom UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/TreeItemCustom) | [Repository](https://github.com/UI5/webcomponents)
*
* @since [1.9.2](https://github.com/UI5/webcomponents/releases/tag/v1.9.2) of __@ui5/webcomponents__.
*/
const TreeItemCustom = withWebComponent('ui5-tree-item-custom', ['accessibilityAttributes', 'accessibleName', 'accessibleRole', 'additionalTextState', 'highlight', 'icon', 'tooltip', 'type'], ['expanded', 'hasChildren', 'hideSelectionElement', 'indeterminate', 'movable', 'navigated', 'selected'], ['content', 'deleteButton', 'image'], ['click', 'detail-click']);
TreeItemCustom.displayName = 'TreeItemCustom';
export { TreeItemCustom };