UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

29 lines (28 loc) 1.32 kB
import '@ui5/webcomponents/dist/ComboBoxItemGroup.js'; import type { ReactNode } from 'react'; import type { CommonProps, Ui5DomRef } from '../../types/index.js'; interface ComboBoxItemGroupAttributes { /** * Defines the text of the component. * @default undefined */ headerText?: string | undefined; } interface ComboBoxItemGroupDomRef extends Required<ComboBoxItemGroupAttributes>, Ui5DomRef { } interface ComboBoxItemGroupPropTypes extends ComboBoxItemGroupAttributes, Omit<CommonProps, keyof ComboBoxItemGroupAttributes | 'children'> { /** * Defines the items of the <code>ui5-cb-item-group</code>. */ children?: ReactNode | ReactNode[]; } /** * The `ui5-cb-group-item` is type of suggestion item, * that can be used to split the `ComboBox` suggestions into groups. * * __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/) * @abstract */ declare const ComboBoxItemGroup: import("react").ForwardRefExoticComponent<ComboBoxItemGroupPropTypes & import("../../internal/withWebComponent.js").WithWebComponentPropTypes & import("react").RefAttributes<ComboBoxItemGroupDomRef>>; export { ComboBoxItemGroup }; export type { ComboBoxItemGroupDomRef, ComboBoxItemGroupPropTypes };