Select
Select fields let users to select a prefixed option.
Import
import { Select } from "@webeetle/windy";
#
DefaultResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
VariantsResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
PropsProps | Type | Default |
---|---|---|
color | [ "gray", "red", "yellow", "green", "blue", "indigo", "purple", "pink","none"] | gray |
rounded | ["xs", "sm", "md", "lg", "xl"] | md |
shadow | ["xs", "sm", "md", "lg", "xl"] | md |
disabled | bool | false |
options | array | [] |