Skip to content

Commit

Permalink
Fixed #4263 - Dropdown: Invalid slot typings
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Aug 15, 2023
1 parent b7197c6 commit 07597f5
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions components/lib/dropdown/Dropdown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,18 +563,22 @@ export interface DropdownSlots {
* @param {Object} scope - clear icon slot's params.
*/
clearicon(scope: {
/**
* Style class of the clear icon
*/
class: any;
/**
* Clear icon click function.
*/
onClick: void;
onClick: (event: Event) => void;
}): VNode[];
/**
* Custom dropdown icon template.
* @param {Object} scope - dropdown icon slot's params.
*/
dropdownicon(scope: {
/**
* Style class of the component
* Style class of the dropdown icon
*/
class: any;
}): VNode[];
Expand All @@ -584,14 +588,20 @@ export interface DropdownSlots {
*/
loadingicon(scope: {
/**
* Style class of the component
* Style class of the loading icon
*/
class: any;
}): VNode[];
/**
* Custom filter icon template.
* @param {Object} scope - filter icon slot's params.
*/
filtericon(): VNode[];
filtericon(scope: {
/**
* Style class of the filter icon
*/
class: any;
}): VNode[];
}

/**
Expand Down

0 comments on commit 07597f5

Please sign in to comment.