@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
18 lines (17 loc) • 995 B
JavaScript
'use client';
import { withWebComponent } from '@ui5/webcomponents-react-base';
/**
* Users can use the `SegmentedButtonItem` as part of a `SegmentedButton`.
*
* Clicking or tapping on a `SegmentedButtonItem` changes its state to `selected`.
* The item returns to its initial state when the user clicks or taps on it again.
* By applying additional custom CSS-styling classes, apps can give a different style to any
* `SegmentedButtonItem`.
*
*
*
* __Note:__ This is a UI5 Web Component! [SegmentedButtonItem UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/SegmentedButtonItem) | [Repository](https://github.com/UI5/webcomponents)
*/
const SegmentedButtonItem = withWebComponent('ui5-segmented-button-item', ['accessibleDescription', 'accessibleDescriptionRef', 'accessibleName', 'accessibleNameRef', 'icon', 'tooltip'], ['disabled', 'selected'], [], ['click']);
SegmentedButtonItem.displayName = 'SegmentedButtonItem';
export { SegmentedButtonItem };