Skip to content

Commit 9ecc717

Browse files
committed
update ai input types manually
1 parent d577819 commit 9ecc717

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/ai/src/components/Input/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import '@ui5/webcomponents-ai/dist/Input.js';
44
import type { InputSelectionChangeEventDetail } from '@ui5/webcomponents/dist/Input.js';
55
import type InputType from '@ui5/webcomponents/dist/types/InputType.js';
6-
import type { InputVersionChangeEventDetail } from '@ui5/webcomponents-ai/dist/Input.js';
6+
import type { InputVersionChangeEventDetail, InputItemClickEventDetail } from '@ui5/webcomponents-ai/dist/Input.js';
77
import type ValueState from '@ui5/webcomponents-base/dist/types/ValueState.js';
88
import { withWebComponent } from '@ui5/webcomponents-react-base';
99
import type { CommonProps, Ui5CustomEvent, Ui5DomRef, UI5WCSlotsNode } from '@ui5/webcomponents-react-base';
@@ -297,7 +297,7 @@ interface InputPropTypes
297297
* | :--------: | :-----: |
298298
* | ❌|❌|
299299
*/
300-
onItemClick?: (event: Ui5CustomEvent<InputDomRef>) => void;
300+
onItemClick?: (event: Ui5CustomEvent<InputDomRef, InputItemClickEventDetail>) => void;
301301

302302
/**
303303
* Fired when the suggestions picker is open.

0 commit comments

Comments
 (0)