Search Docs
Loading...
Skip to content

Interface: DropdownOptions

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#

PropertyTypeDescription
inputLabel?stringstring[]
inputLabelPosition?"top""left"
label?stringstring[]
tooltip?stringstring[]
variant?"regular""plain"
color?"accent""danger"
size?"normal""large"
icon?CustomIcon-
isDisabled?boolean-
isLoading?boolean-
loadingProgress?number-
children?(context) => void
suffix?Suffix-
showIndicator?booleanWhether to show the expand indicator icons (triangle up/down). Default true