Represents options for a dropdown.
The DropdownOptions interface provides a set of properties that control the
behavior and appearance of a dropdown. These options include settings for the
input label, input label position, label, tooltip, variant, color, size, icon,
disabled state, loading state, loading progress, children, and suffix.
Properties#
| Property | Type | Description |
|---|---|---|
inputLabel? | string | string[] |
inputLabelPosition? | "top" | "left" |
label? | string | string[] |
tooltip? | string | string[] |
variant? | "regular" | "plain" |
color? | "accent" | "danger" |
size? | "normal" | "large" |
icon? | CustomIcon | - |
isDisabled? | boolean | - |
isLoading? | boolean | - |
loadingProgress? | number | - |
children? | (context) => void | |
suffix? | Suffix | - |
showIndicator? | boolean | Whether to show the expand indicator icons (triangle up/down). Default true |