@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
21 lines (20 loc) • 886 B
JavaScript
'use client';
import '@ui5/webcomponents-fiori/dist/SortItem.js';
import { withWebComponent } from '@ui5/webcomponents-react-base';
/**
* The `SortItem` component defines the sorting criteria for data in `ViewSettingsDialog`.
* It represents a single sort option that users can select to organize data in ascending or descending order.
*
* ### Usage
*
* The `SortItem` is used within the `ViewSettingsDialog` to provide sorting options.
* Each sort item represents a column or field by which data can be sorted.
*
*
*
* __Note:__ This is a UI5 Web Component! [SortItem UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/fiori/SortItem) | [Repository](https://github.com/UI5/webcomponents)
* @abstract
*/
const SortItem = withWebComponent('ui5-sort-item', ['text'], ['selected'], [], []);
SortItem.displayName = 'SortItem';
export { SortItem };