@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
27 lines (26 loc) • 1.57 kB
JavaScript
'use client';
import { withWebComponent } from '@ui5/webcomponents-react-base';
/**
* The `ViewSettingsDialog` component helps the user to sort data within a list or a table.
* It consists of several lists like `Sort order` which is built-in and `Sort By` and `Filter By` lists,
* for which you must be provide items(`SortItem` & `FilterItem` respectively)
* These options can be used to create sorters for a table.
*
* The `ViewSettingsDialog` interrupts the current application processing as it is the only focused UI element and
* the main screen is dimmed/blocked.
* The `ViewSettingsDialog` is modal, which means that user action is required before returning to the parent window is possible.
*
* ### Structure
* A `ViewSettingsDialog` consists of a header, content, and a footer for action buttons.
* The `ViewSettingsDialog` is usually displayed at the center of the screen.
*
* ### Responsive Behavior
* `ViewSettingsDialog` stretches on full screen on phones.
*
*
*
* __Note:__ This is a UI5 Web Component! [ViewSettingsDialog UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/fiori/ViewSettingsDialog) | [Repository](https://github.com/UI5/webcomponents)
*/
const ViewSettingsDialog = withWebComponent('ui5-view-settings-dialog', [], ['groupDescending', 'open', 'resetEnabled', 'sortDescending'], ['customTabs', 'filterItems', 'groupItems', 'sortItems'], ['before-open', 'cancel', 'close', 'confirm', 'open', 'reset']);
ViewSettingsDialog.displayName = 'ViewSettingsDialog';
export { ViewSettingsDialog };