UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

31 lines (30 loc) 1.06 kB
import '@ui5/webcomponents-fiori/dist/SortItem.js'; import type { CommonProps, Ui5DomRef } from '../../types/index.js'; interface SortItemAttributes { /** * Defines if the component is selected. * @default false */ selected?: boolean; /** * Defines the text of the component. * @default undefined */ text?: string | undefined; } interface SortItemDomRef extends Required<SortItemAttributes>, Ui5DomRef { } interface SortItemPropTypes extends SortItemAttributes, Omit<CommonProps, keyof SortItemAttributes> { } /** * ### Usage * * For the `SortItem` * * * __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/) * @abstract */ declare const SortItem: import("react").ForwardRefExoticComponent<SortItemPropTypes & import("../../internal/withWebComponent.js").WithWebComponentPropTypes & import("react").RefAttributes<SortItemDomRef>>; export { SortItem }; export type { SortItemDomRef, SortItemPropTypes };