@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
23 lines (22 loc) • 1 kB
JavaScript
'use client';
import '@ui5/webcomponents-fiori/dist/GroupItem.js';
import { withWebComponent } from '@ui5/webcomponents-react-base';
/**
* The `GroupItem` component defines the grouping criteria for data in `ViewSettingsDialog`.
* It represents a single group option that users can select to organize data into logical groups.
*
* ### Usage
*
* The `GroupItem` is used within the `ViewSettingsDialog` to provide grouping options.
* Each group item represents a column or field by which data can be grouped.
*
*
*
* __Note:__ This is a UI5 Web Component! [GroupItem UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/fiori/GroupItem) | [Repository](https://github.com/UI5/webcomponents)
*
* @since [2.15.0](https://github.com/UI5/webcomponents/releases/tag/v2.15.0) of __@ui5/webcomponents-fiori__.
* @abstract
*/
const GroupItem = withWebComponent('ui5-group-item', ['text'], ['selected'], [], []);
GroupItem.displayName = 'GroupItem';
export { GroupItem };