Skip to content

Commit

Permalink
Fix primefaces#5847: Dropdown typescript loading/icon
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jan 28, 2024
1 parent 6e2b91e commit bf4f131
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions components/lib/dropdown/dropdown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,15 @@ export interface DropdownProps extends Omit<React.DetailedHTMLProps<React.InputH
* The template of items.
*/
itemTemplate?: React.ReactNode | ((option: any) => React.ReactNode) | undefined;
/**
* Displays a loader to indicate data load is in progress.
* @defaultValue false
*/
loading?: boolean | undefined;
/**
* The icon to show while indicating data load is in progress.
*/
loadingIcon?: IconType<DropdownProps> | undefined;
/**
* Maximum number of characters to be typed on an editable input.
*/
Expand Down

0 comments on commit bf4f131

Please sign in to comment.