LOGO
Props

How to use props

Modal Component

PropTypeDefaultDescription
optionsOptions[]Array of options for the dropdown.
onChange(Options[]) => voidCallback function triggered on option change.
isSearchablebooleanEnables or disables the search functionality.
placeholderTextstringText displayed when no options are selected.
chipbooleanDisplays selected options as removable chips.
checkedbooleanPre-checks options when set to true.
disabledbooleanfalseDisables the dropdown when set to true.
defaultValueOptions[][]Array of pre-selected options.
creatablebooleanAllows creation of new options dynamically.
emptyStatebooleanDisplays a message when no options are available.
size"sm","md","lg"mdAdjusts the size of the dropdown (small, medium, large).
widthnumber400Sets the custom width of the dropdown.
maxHeightnumber300Maximum height for the dropdown menu.
maxLengthShownumber10Maximum number of visible options before scrolling is enabled.
Copyright © saimundev