@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
16 lines (15 loc) • 828 B
JavaScript
'use client';
import { withWebComponent } from '../../internal/withWebComponent.js';
/**
* The `TreeItem` 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.
*
*
*
* __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/)
*/
const TreeItem = withWebComponent('ui5-tree-item', ['accessibilityAttributes', 'accessibleName', 'additionalText', 'additionalTextState', 'highlight', 'icon', 'text', 'tooltip', 'type'], ['expanded', 'hasChildren', 'indeterminate', 'movable', 'navigated', 'selected'], ['deleteButton'], ['detail-click']);
TreeItem.displayName = 'TreeItem';
export { TreeItem };