Refactor #3832 Refactor #3833 - For CascadeSelect

This commit is contained in:
Tuğçe Küçükoğlu 2023-04-04 15:39:23 +03:00
parent 9bc6ca49ca
commit 67e874d962
4 changed files with 43 additions and 16 deletions

View file

@ -116,17 +116,14 @@ export interface CascadeSelectProps {
loading?: boolean | undefined;
/**
* Icon to display in the dropdown.
* @defaultValue pi pi-chevron-down
*/
dropdownIcon?: string | undefined;
/**
* Icon to display in loading state.
* @defaultValue pi pi-spinner pi-spin
*/
loadingIcon?: string | undefined;
/**
* Icon to display in the option group.
* @defaultValue pi pi-angle-right
*/
optionGroupIcon?: string | undefined;
/**
@ -214,6 +211,10 @@ export interface CascadeSelectSlots {
* Custom indicator template.
*/
indicator(): VNode[];
/**
* Custom option group icon template.
*/
optiongroupicon(): VNode[];
}
/**