Accordion
This is the comment for AccordionComponent 2
Note
The style of the component can be modified via several methods
Method | Description |
---|---|
theme | (recommended method) this is descriptin |
styled components | This is the description |
css | this is the css description |
Example
<Accordion multiActive="false" />
Parameters
(Mandatory parameters are in bold)Parameters | Type | Description |
---|---|---|
animate | number | Defaults to: 150 |
border | boolean | a flag to indicate if the border is visible or not Example:
Defaults to: true |
className | string | |
Component | FCC<Omit<AccordionProps, Component>> | |
mode | push | pushToBottom | push means that the height of the accordion panel is derived from the height of its content pushToBottom means that the height of the accordion panel is the remaining space given by the accordion's container after removing the space taken by the other accordion panel titles (do not work if multiActive is true) Defaults to: push |
multiActive | boolean | Defaults to: false |