Accordion
Creates a section that can be toggled to be used for FAQ's, etc.
Color
Set a header color from the list of theme colors provided.
EXAMPLE
Header
Content goes in here and can be toggled!
<Accordion color="green"><h5>Header</h5><p>Content goes in here and can be toggled!</p></Accordion>
API
Name | Type | Default | Description |
---|---|---|---|
children | node | The content to be displayed in the accordion with the first child node creating the header and the second node creating the content. | |
color | string | blue | Theme color that will change the header color of the section. |