The dropdown label
Indicates the color of the button, check Button
component for allowed values
Custom classNames(s) for further styling
Represents the type of the Dropdown
+
+ Allowed values
+
+
+
+
+
+
+
whther to hide the label of the button or not
+When set to true
the Dropdown will have a full width
Set this to true
if you want the Dropdown to be closed onClick
Detects when the Dropdown is toggled, the first parameter represents the state
+Whether to dsiplay the search field or not
+Whether to dsiplay the search field or not
+Whether the options are asynchronous or not
+ This prop represnt the settings of the async Dropdown, it has two properties: perPage
, and totlaItems
, both are numbers
The function used to fetch the options
+Width for the menu in pixels
+Placeholder text for the search field
+The menu items to be rendered, each item is an object that could be either a Menu Group or a Menu Item.
@@ -178,9 +234,7 @@ import { buttonCode } from "@wpmudev/sui-tooltip/stories/tabs/Examples/Types.mdx } />