Accordion
Generate an accordion element
Import
import { Accordion } from "@webeetle/windy";
#
DefaultResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
Disable PanelResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
CustomResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
On Click PanelResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
Props AccordionProps | Type | Default |
---|---|---|
color | [ "gray", "red", "yellow", "green", "blue", "indigo", "purple", "pink","none"] | indigo |
rounded | ["sm", "md", "lg", "full", "none"] | full |
shadow | ["sm", "md", "lg", "full", "none"] | md |
#
Props Accordion.PanelProps | Type | Default |
---|---|---|
label | any | "" |
isOpen | bool | false |
disabled | bool | false |