Dropdown
Dropdowns allow users to take actions, with a simple menu.
Import
import { Dropdown } from "@webeetle/windy";
#
Contained DropdownResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
Bordered DropdownResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
Text DropdownResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
Custom DropdownResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
PropsProps | Type | Default |
---|---|---|
buttonText | string | '' |
size | ["xs", "sm", "md", "lg", "xl"] | md |
color | [ "gray", "red", "yellow", "green", "blue", "indigo", "purple", "pink","none"] | indigo |
layout | ["text", "bordered", "contained"] | contained |
rounded | ["sm", "md", "lg", "full", "none"] | md |
disabled | bool | false |
shadow | ["sm", "md", "lg", "full", "none"] | md |
caret | bool | true |
gradient | bool | true |