Skip to main content

AccordionComponent

This is the comment for AccordionComponent 2

Note

The component is not styled. You can styled it via several methods

MethodDescription
styled components(recommended method) this is descriptin
cssThis is the description

Example

<AccordionComponent multiActive="true" />

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
animatenumberDefaults to: 150
borderbooleana flag to indicate if the border is visible or not

Example:
false


Defaults to: true
classNamestring
ComponentFCC<Omit<AccordionProps, Component>>
modepush | pushToBottompush 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
multiActivebooleanDefaults to: false