Skip to content

Commit d0a7e04

Browse files
authored
Fix #7892: CascadeSelect loading/loadingIcon typescript def (#7893)
1 parent f04e48a commit d0a7e04

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

components/lib/cascadeselect/cascadeselect.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,15 @@ export interface CascadeSelectProps extends Omit<React.DetailedHTMLProps<React.I
281281
* @defaultValue 400px
282282
*/
283283
scrollHeight?: string | undefined;
284+
/**
285+
* Display loading icon.
286+
* @defaultValue false
287+
*/
288+
loading?: boolean | undefined;
289+
/**
290+
* Name of the loading icon or JSX.Element for loading icon.
291+
*/
292+
loadingIcon?: IconType<CascadeSelectProps> | undefined;
284293
/**
285294
* Callback to invoke on value change
286295
* @param {CascadeSelectChangeEvent} event - Custom change event

0 commit comments

Comments
 (0)